Int32KeyFrameCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

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

屬性值

指定之索引處的 Int32KeyFrame

例外狀況

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

index 小於零。

-或-

index 等於或大於 Count

適用於