VectorCollection.Item[Int32] 屬性

定義

取得或設定在指定索引處的 Vector

public:
 property System::Windows::Vector default[int] { System::Windows::Vector get(int index); void set(int index, System::Windows::Vector value); };
public System.Windows.Vector this[int index] { get; set; }
member this.Item(int) : System.Windows.Vector with get, set
Default Public Property Item(index As Integer) As Vector

參數

index
Int32

要取得或設定的 Vector 的以零起始的索引。

屬性值

指定之索引處的 Vector

實作

例外狀況

valuenull

index 不是 VectorCollection 中的有效索引。

VectorCollection 為唯讀。

-或-

VectorCollection 具有固定的大小。

備註

不同于 的一般實作 IList<T>.Item[] ,如果您嘗試插入Null (Nothing) 參考,這個實作會 ArgumentException 擲回 。

適用於

另請參閱