Sdílet prostřednictvím


PathSegmentCollection.Item[Int32] Vlastnost

Definice

Získá nebo nastaví v zadaném indexu založeném na PathSegment nule.

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

Parametry

index
Int32

Index objektu PathSegment založený na nule, který chcete získat nebo nastavit.

Hodnota vlastnosti

PathSegment

Položka v zadaném indexu.

Implementuje

Výjimky

value je null.

index není platný index v souboru PathSegmentCollection.

Je PathSegmentCollection jen pro čtení.

-nebo- Má PathSegmentCollection pevnou velikost.

Poznámky

Na rozdíl od typických IList<T>.Item[]implementací tato implementace vyvolá ArgumentException výjimku, pokud se pokusíte vložit odkaz null (Nothing).

Platí pro

Viz také