PathSegmentCollection.Item[Int32] Własność
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Pobiera lub ustawia PathSegment wartość w określonym indeksie opartym na zerze.
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
Indeks zerowy PathSegment obiektu, który ma być pobierany lub ustawiany.
Wartość nieruchomości
Element w określonym indeksie.
Implementuje
Wyjątki
value to null.
index nie jest prawidłowym indeksem w pliku PathSegmentCollection.
Element PathSegmentCollection jest tylko do odczytu.
-lub-
Element PathSegmentCollection ma stały rozmiar.
Uwagi
W przeciwieństwie do typowych implementacji programu IList<T>.Item[]ta implementacja zgłasza ArgumentException wyjątek w przypadku próby wstawienia odwołania o wartości null (nic).