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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

Element Transform w określonym indeksie.

Implementuje

Wyjątki

value to null.

index nie jest prawidłowym indeksem w pliku TransformCollection.

Element TransformCollection jest tylko do odczytu.

-lub-

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