RectKeyFrameCollection.Item[Int32] RectKeyFrameCollection.Item[Int32] RectKeyFrameCollection.Item[Int32] RectKeyFrameCollection.Item[Int32] Property

定义

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

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

参数

index
Int32 Int32 Int32 Int32

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

属性值

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

适用于