TransformCollection.Item[Int32] 属性

定义

获取或设置指定索引处的 TransformGets or sets the Transform at the specified index.

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

参数

index
Int32

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

属性值

位于指定索引处的 TransformThe Transform at the specified index.

实现

例外

valuenullvalue is null.

index 不是 TransformCollection 中的有效索引。index is not a valid index in the TransformCollection.

TransformCollection 为只读。The TransformCollection is read-only.

- 或 --or- TransformCollection 具有固定的大小。The TransformCollection has a fixed size.

注解

IList<T>.Item[Int32]的典型实现不同,如果尝试插入nullNothing)引用,此实现将引发 ArgumentExceptionUnlike typical implementations of IList<T>.Item[Int32], this implementation throws an ArgumentException if you attempt to insert a null (Nothing) reference.

适用于

另请参阅