TransformCollection.Item[Int32] 屬性

定義

取得或設定在指定索引處的 Transform

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 的以零起始的索引。

屬性值

指定之索引處的 Transform

實作

例外狀況

valuenull

index 不是 TransformCollection 中的有效索引。

TransformCollection 為唯讀。

-或-

TransformCollection 具有固定的大小。

備註

不同于 的一般實作 IList<T>.Item[] ,如果您嘗試插入Null (Nothing) 參考,這個實作會 ArgumentException 擲回 。

適用於

另請參閱