PrincipalValueCollection<T>.Insert(Int32, T) 方法

定义

将指定对象插入集合中的指定索引处。Inserts the specified object into the collection at the specified index.

public:
 virtual void Insert(int index, T value);
public void Insert (int index, T value);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, value As T)

参数

index
Int32

集合中将插入 value 的索引位置。The index at which value will be inserted into the collection.

value
T

一个对象。An object.

实现

适用于