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

集合中要求的子項目之以零為起始的索引。

傳回

Visual

要求的子項目。 這應該不會傳回 null;如果提供的索引超出範圍,則會擲回例外狀況。

適用於

另請參閱