InkCanvas.GetVisualChild(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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;如果提供的索引不在范围内,则会引发异常。