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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

SingleKeyFrame

Element SingleKeyFrame 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