編輯

共用方式為


PointKeyFrameCollection.Item[Int32] Property

Definition

Gets or sets the PointKeyFrame at the specified index position.

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

Parameters

index
Int32

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

Property Value

The PointKeyFrame 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