語言

ObjectKeyFrameCollection.Item[Int32] 屬性

定義

在指定的索引上取得或設定 。ObjectKeyFrameCollection

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

參數

index
Int32

就是 to get 或 set 的 ObjectKeyFrame 零基指數。

屬性值

在指定的索引上。ObjectKeyFrame

例外狀況

嘗試修改集合無效,因為集合已凍結(其 IsFrozen 屬性為 true)。

index 小於零。

-或-

index 等於或大於 Count。

適用於