BooleanKeyFrameCollection.Item[Int32] 屬性

定義

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

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

參數

index
Int32

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

屬性值

BooleanKeyFrame

指定之索引處的 BooleanKeyFrame

例外狀況

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

index 小於零。

-或- index 等於或大於 Count

適用於