TableRowCollection.IList.Insert(Int32, Object) Метод
Определение
Вставляет объект в коллекцию по указанному индексу.Inserts an object into the collection at the specified index.
virtual void System.Collections.IList.Insert(int index, System::Object ^ o) = System::Collections::IList::Insert;
void IList.Insert (int index, object o);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, o As Object) Implements IList.Insert
Параметры
- index
- Int32
Отсчитываемый с нуля индекс в коллекции для вставки объекта.The zero-based index within the collection at which to insert the object.
- o
- Object
Объект, вставляемый в коллекцию.The object to insert into the collection.
Реализации
Комментарии
Как правило, для AddAt добавления элемента в объект следует использовать метод TableRowCollection .Typically, you should use the AddAt method to add an element to a TableRowCollection object.
IList.InsertМетод является явной реализацией члена интерфейса.The IList.Insert method is an explicit interface member implementation. Он может использоваться, только если экземпляр TableRowCollection приведен к типу интерфейса IList.It can be used only when the TableRowCollection instance is cast to an IList interface.