DataGridViewSelectedRowCollection.IList.RemoveAt(Int32) メソッド

定義

RemoveAt(Int32) メソッドを実装します。 常に NotSupportedException をスローします。

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

パラメーター

index
Int32

削除する項目の 0 から始まるインデックス。

実装

例外

常にスローされます。

注釈

クラスを DataGridViewSelectedRowCollection 直接変更することはできません。 から DataGridViewSelectedRowCollection行を削除するには、 プロパティを使用します DataGridViewBand.Selected

このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、DataGridViewSelectedRowCollection のインスタンスが IList インターフェイスにキャストされる場合のみ、使用できます。

適用対象

こちらもご覧ください