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

Definicja

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

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

Parametry

index
Int32

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

Wartość właściwości

DecimalKeyFrame

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