Język

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

Definicja

Pobiera lub ustawia wartość PathFigure w 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 zerowy PathFigure klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

Wartość PathFigure w określonym indeksie.

Implementuje

Wyjątki

Parametr value ma wartość 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 błąd ArgumentException w przypadku próby wstawienia odwołania o wartości null (nic).

Dotyczy

Zobacz też