UIElementAutomationPeer.GetChildrenCore 方法

定义

获取与此 UIElement 关联的 UIElementAutomationPeer 的子元素的集合。Gets the collection of child elements of the UIElement that is associated with this UIElementAutomationPeer. 此方法由 GetChildren() 调用。This method is called by GetChildren().

protected:
 override System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildrenCore();
protected override System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildrenCore ();
override this.GetChildrenCore : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Protected Overrides Function GetChildrenCore () As List(Of AutomationPeer)

返回

List<AutomationPeer>

AutomationPeer 子元素列表。A list of child AutomationPeer elements.

适用于