SingleKeyFrameCollection.Item[Int32] 屬性

定義

取得或設定在指定索引位置的 SingleKeyFrame

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

參數

index
Int32

要取得或設定的 SingleKeyFrame 的以零起始的索引。

屬性值

SingleKeyFrame

指定之索引處的 SingleKeyFrame

例外狀況

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

index 小於零。

-或- index 等於或大於 Count

適用於