VectorKeyFrameCollection.Item[Int32] 屬性

定義

取得或設定位在指定索引位置的 VectorKeyFrameGets or sets the VectorKeyFrame at the specified index position.

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

參數

index
Int32

要取得或設定的 VectorKeyFrame 的以零起始的索引。The zero-based index of the VectorKeyFrame to get or set.

屬性值

指定索引處的 VectorKeyFrameThe VectorKeyFrame at the specified index.

例外狀況

嘗試修改集合無效,因為已凍結此集合 (其 IsFrozen 屬性為 true)。The attempt to modify the collection is invalid because the collection is frozen (its IsFrozen property is true).

index 小於零。index is less than zero.

-或--or- index 等於或大於 Countindex is equal to or greater than Count.

適用於