Vector3DKeyFrameCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

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

屬性值

Vector3DKeyFrame

指定之索引處的 Vector3DKeyFrameThe Vector3DKeyFrame 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.

適用於