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

Definicja

Pobiera lub ustawia wartość Point w określonym indeksie.

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

Parametry

index
Int32

Indeks zerowy Point klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

Element Point w określonym indeksie.

Implementuje

Wyjątki

value to null.

index nie jest prawidłowym indeksem w pliku PointCollection.

Element PointCollection jest tylko do odczytu.

-lub-

Element PointCollection 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).

Dotyczy

Zobacz też