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

Definicja

Pobiera lub ustawia wartość Int32KeyFrame w określonej pozycji indeksu.

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

Parametry

index
Int32

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

Wartość właściwości

Element Int32KeyFrame w określonym indeksie.

Wyjątki

Próba zmodyfikowania kolekcji jest nieprawidłowa, ponieważ kolekcja jest zamrożona (jej IsFrozen właściwość to true).

Parametr index ma wartość niższą niż zero.

-lub-

index jest równe lub większe niż Count.

Dotyczy