InkCanvas.GetVisualChild(Int32) メソッド

定義

GetVisualChild(Int32)オーバーライドし、子要素のコレクションから指定したインデックス位置にある子を返します。

protected:
 override System::Windows::Media::Visual ^ GetVisualChild(int index);
protected override System.Windows.Media.Visual GetVisualChild(int index);
override this.GetVisualChild : int -> System.Windows.Media.Visual
Protected Overrides Function GetVisualChild (index As Integer) As Visual

パラメーター

index
Int32

コレクション内の要求された子要素の 0 から始まるインデックス。

返品

要求された子要素。 これは nullを返すべきではありません。指定されたインデックスが範囲外の場合は、例外がスローされます。

適用対象

こちらもご覧ください