VectorCollection.Insert(Int32, Vector) VectorCollection.Insert(Int32, Vector) VectorCollection.Insert(Int32, Vector) VectorCollection.Insert(Int32, Vector) Method

定义

Vector 插入到 VectorCollection 中的指定索引位置处。Inserts a Vector into the VectorCollection at the specified index.

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

参数

index
Int32 Int32 Int32 Int32

应插入 value 的从零开始的索引。The zero-based index at which value should be inserted.

value
Vector Vector Vector Vector

要插入到 VectorCollectionVectorThe Vector to insert into the VectorCollection.

实现

异常

注解

与的IList<T>.Insert典型实现不同, 如果尝试插入ArgumentException null (Nothing) 引用, 此实现将引发。Unlike typical implementations of IList<T>.Insert, this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.

适用于

另请参阅