语言

VectorKeyFrameCollection.Item[Int32] 属性

定义

获取或设置 VectorKeyFrame 位于指定索引位置的位置。

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

参数

index
Int32

要获取或设置的 VectorKeyFrame 从零开始的索引。

属性值

位于 VectorKeyFrame 指定索引处。

例外

修改集合的尝试无效,因为集合被冻结(其 IsFrozen 属性为 true)。

index 小于零。

-或-

index 等于或大于 Count。

适用于