Int16KeyFrameCollection.Item[Int32] 属性

定义

获取或设置位于指定索引位置的 Int16KeyFrameGets or sets the Int16KeyFrame at the specified index position.

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

参数

index
Int32

要获取或设置的 Int16KeyFrame 的从零开始的索引。The zero-based index of the Int16KeyFrame to get or set.

属性值

位于指定索引处的 Int16KeyFrameThe Int16KeyFrame 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.

适用于