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

Definicja

Pobiera lub ustawia wartość Geometry na określonej pozycji indeksu.

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

Parametry

index
Int32

Indeks oparty na zerowej Geometry wartości parametru do pobrania lub ustawienia.

Wartość właściwości

Geometry

Element Geometry w określonym indeksie.

Implementuje

Wyjątki

Próba zmodyfikowania kolekcji jest nieprawidłowa, ponieważ kolekcja jest zamrożona (jej IsFrozen właściwość to true).

Parametr index ma wartość niższą niż zero.

-lub- index jest równa lub większa niż Count.

Dotyczy