PathFigureCollection.Item[Int32] Vlastnost

Definice

Získá nebo nastaví na PathFigure zadanou pozici indexu.

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

Index PathFigure od nuly pro získání nebo nastavení.

Hodnota vlastnosti

Hodnota PathFigure v zadaném indexu.

Implementuje

Výjimky

value je null.

index není platný index v objektu PathFigureCollection.

Je PathFigureCollection jen pro čtení.

-nebo-

PathFigureCollection pevnou velikost.

Poznámky

Na rozdíl od obvyklých IList<T>.Item[]implementací nástroje tato implementace vyvolá při ArgumentException pokusu o vložení odkazu null (Nothing).

Platí pro

Viz také