語言

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

集合中請求子元素的以零為基礎的索引。

傳回

請求的兒童元素。 此回傳不應回傳 null;若所提供的索引超出範圍,則會拋出例外。

適用於

另請參閱