PowerTools PlusPak for Windows Forms 8.0J
Item(Int32) プロパティ

取得または設定するコレクション内の項目のインデックス。
コレクション内の指定したインデックスにある項目を取得または設定します。
構文
Public Overloads Property Item( _
   ByVal index As Integer _
) As CheckBoxItem
public CheckBoxItem Item( 
   int index
) {get; set;}

パラメータ

index
取得または設定するコレクション内の項目のインデックス。

プロパティ値

コレクション内の指定したインデックスにある項目を表すCheckBoxItem
例外
例外解説
System.ArgumentOutOfRangeExceptionindexパラメーターが0未満か、CheckBoxItemCollectionクラスのCountプロパティの値以上です。
System.ArgumentNullException設定するvalueがnullです。
解説
このメソッドを使用すると、コレクション内の特定の位置に格納されたCheckBoxItemを取得できます。コレクション内の特定の項目のインデックスを確認するには、IndexOfメソッドを使用します。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

CheckBoxItemCollection クラス
CheckBoxItemCollection メンバ
オーバーロード一覧

Send Feedback