VectorCollection.Item[Int32] Właściwość

Definicja

Pobiera lub ustawia wartość Vector w określonym indeksie.

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

Parametry

index
Int32

Indeks zerowy Vector klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

Element Vector w określonym indeksie.

Implementuje

Wyjątki

value to null.

index nie jest prawidłowym indeksem w pliku VectorCollection.

Element VectorCollection jest tylko do odczytu.

-lub-

Element VectorCollection ma stały rozmiar.

Uwagi

W przeciwieństwie do typowych implementacji programu IList<T>.Item[]ta implementacja zgłasza ArgumentException wyjątek w przypadku próby wstawienia odwołania o wartości null (nic).

Dotyczy

Zobacz też