Język

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

Definicja

Pobiera lub ustawia GeneralTransform obiekt na określonej pozycji indeksu.

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

Parametry

index
Int32

Położenie indeksu zerowego obiektu do pobrania lub ustawienia.

Wartość właściwości

Obiekt GeneralTransform w położeniu index .

Implementuje

Wyjątki

Parametr value ma wartość null.

index nie jest prawidłowym indeksem w obiekcie GeneralTransformCollection.

Element GeneralTransformCollection jest tylko do odczytu.

— lub —

Element GeneralTransformCollection 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ż