語言

VisualCollection.Item[Int32] 屬性

定義

取得或設定 Visual ,該 儲存在 的零基索引 VisualCollection上。

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

參數

index
Int32

從 中取得或設定 的VisualCollection零基索引Visual。

屬性值

該 Visual that 儲存在 index。

例外狀況

index 小於零,或 index 等於或大於 Count。

新的子元素已有父元素,或指定的索引值不 null存在。

備註

此特性提供透過索引存取特定VisualVisualCollection物件的能力。

適用於