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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

PathFigure

Element PathFigure w określonym indeksie.

Implementuje

Wyjątki

value to null.

index nie jest prawidłowym indeksem w obiekcie PathFigureCollection.

Element PathFigureCollection jest tylko do odczytu.

-lub- Element PathFigureCollection ma stały rozmiar.

Uwagi

W przeciwieństwie do typowych implementacji IList<T>.Item[]programu ta implementacja zgłasza ArgumentException błąd, jeśli próbujesz wstawić odwołanie o wartości null (nic).

Dotyczy

Zobacz też