Język

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

Definicja

Pobiera lub ustawia wartość ByteKeyFrame w 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 zerowy ByteKeyFrame klasy , który ma być pobierany lub ustawiany.

Wartość właściwości

Wartość 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ówne lub większe niż Count.

Dotyczy