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

Definicja

Pobiera lub ustawia wartość ByteKeyFrame na określonej pozycji indeksu.

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

Parametry

index
Int32

Indeks oparty na zerowej ByteKeyFrame wartości parametru do pobrania lub ustawienia.

Wartość właściwości

ByteKeyFrame

Element ByteKeyFrame 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ówna lub większa niż Count.

Dotyczy