Share via


CheckBoxList.IRepeatInfoUser.RepeatedItemCount 屬性

定義

取得清單控制項中的項目數。

property int System::Web::UI::WebControls::IRepeatInfoUser::RepeatedItemCount { int get(); };
int System.Web.UI.WebControls.IRepeatInfoUser.RepeatedItemCount { get; }
member this.System.Web.UI.WebControls.IRepeatInfoUser.RepeatedItemCount : int
 ReadOnly Property RepeatedItemCount As Integer Implements IRepeatInfoUser.RepeatedItemCount

屬性值

清單中的項目數目。

實作

備註

一般而言,您應該使用 CheckBoxList.RepeatedItemCount 屬性來判斷 物件中的 CheckBoxList 專案數目。

成員 CheckBoxList.IRepeatInfoUser.RepeatedItemCount 是明確的介面成員實作。 只有在 CheckBoxList 執行個體轉換成 IRepeatInfoUser 介面時,才能使用這個成員。

給繼承者的注意事項

若要定義 物件中 CheckBoxList 成員的 IRepeatInfoUser.RepeatedItemCount 自訂實作,請覆寫 RepeatedItemCount 成員。 明確介面實作 RepeatedItemCount 會使用 屬性。

適用於

另請參閱