语言

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;如果提供的索引不在范围内,则会引发异常。

适用于

另请参阅