GridViewAutomationPeer.IViewAutomationPeer.GetChildren 方法

定义

获取指定UI 自动化对等的直接子元素的集合。

 virtual System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren(System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ children) = System::Windows::Automation::Peers::IViewAutomationPeer::GetChildren;
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> IViewAutomationPeer.GetChildren (System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> children);
abstract member System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
override this.System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Function GetChildren (children As List(Of AutomationPeer)) As List(Of AutomationPeer) Implements IViewAutomationPeer.GetChildren

参数

children
List<AutomationPeer>

要获取的子对象的集合。

返回

List<AutomationPeer>

子对象的集合。

实现

注解

此成员是显式接口成员的实现。 它只能在 GridViewAutomationPeer 实例被强制转换为 IViewAutomationPeer 接口时使用。

适用于