VisualCollection.Item[Int32] プロパティ

定義

Visual の 0 から始まるインデックス位置に格納されている 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 の 0 から始まるインデックス。

プロパティ値

Visual

index に格納されている Visual

例外

index が 0 未満か、indexCount 以上です。

新しい子要素には既に親があるか、指定したインデックス位置にある値が null ではありません。

注釈

このプロパティは、インデックスを使用して特定 Visual のオブジェクトに VisualCollection アクセスする機能を提供します。

適用対象