PowerTools PlusPak for Windows Forms 8.0J
RemoveAt メソッド (RadioButtonItemCollection)

削除する項目の0から始まるインデックス。
コレクション内の指定したインデックスにある項目を削除します。
構文
Public Sub RemoveAt( _
   ByVal index As Integer _
) 
public void RemoveAt( 
   int index
)

パラメータ

index
削除する項目の0から始まるインデックス。
例外
例外解説
System.ArgumentOutOfRangeExceptionindexパラメーターが0未満か、RadioButtonItemCollectionクラスのCountプロパティの値以上です。
解説
このメソッドを使用すると、項目のインデックスを指定して、コレクションから特定の項目を削除できます。削除する項目のインデックスではなく、項目自体を指定するには、Removeメソッドを使用します。コレクションからすべての項目を削除するには、Clearメソッドを使用します。
プラットフォーム

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

参照

RadioButtonItemCollection クラス
RadioButtonItemCollection メンバ
Remove メソッド
Clear メソッド
Remove メソッド
Clear メソッド

Send Feedback