語言

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

就是 to get 或 set 的 Vector 零基指數。

屬性值

在指定的索引上。Vector

實作

例外狀況

value 是 null。

index 在 中 不是有效的索引 VectorCollection。

這是 VectorCollection 唯讀的。

-或-

它 VectorCollection 有固定尺寸。

備註

與典型的 實IList<T>.Item[]作不同,這個實作會在你嘗試插入ArgumentExceptionNothing)參考時拋出 。

適用於

另請參閱