DataGridViewSelectedRowCollection.IList.Insert(Int32, Object) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
Insert(Int32, Object) メソッドを実装します。 常に NotSupportedException をスローします。
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
void IList.Insert (int index, object value);
void IList.Insert (int index, object? value);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, value As Object) Implements IList.Insert
パラメーター
- index
- Int32
value
を挿入する位置のインデックス番号。
- value
- Object
DataGridViewSelectedRowCollection に追加するオブジェクト。
実装
例外
常にスローされます。
注釈
クラスを DataGridViewSelectedRowCollection 直接変更することはできません。 に DataGridViewSelectedRowCollection行を追加するには、 プロパティを DataGridViewBand.Selected 使用します。
このメンバーは、明示的なインターフェイス メンバーの実装です。 これは、DataGridViewSelectedRowCollection のインスタンスが IList インターフェイスにキャストされる場合のみ、使用できます。
適用対象
こちらもご覧ください
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET