Upraviť

Zdieľať cez


ObjectKeyFrameCollection.Item[Int32] Property

Definition

Gets or sets the ObjectKeyFrameCollection at the specified index.

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

Parameters

index
Int32

The zero-based index of the ObjectKeyFrame to get or set.

Property Value

The ObjectKeyFrame at the specified index.

Exceptions

The attempt to modify the collection is invalid because the collection is frozen (its IsFrozen property is true).

index is less than zero.

-or-

index is equal to or greater than Count.

Applies to