MatrixKeyFrameCollection.Item[Int32] 属性

定义

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

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

参数

index
Int32

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

属性值

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

适用于