GlobalTypeCollection.IList.Insert(Int32, Object) 方法

定义

将对象插入到集合中的指定位置。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ item) = System::Collections::IList::Insert;
 virtual void System.Collections.IList.Insert(int index, Platform::Object ^ item) = System::Collections::IList::Insert;
void System.Collections.IList.Insert(int index, winrt::Windows::Foundation::IInspectable const & item);
void IList.Insert (int index, object item);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, item As Object) Implements IList.Insert

参数

index
Int32

应插入项的位置。

item
Object

要插入的项。

实现

适用于