TreeViewItemAutomationPeer.GetChildrenCore 方法

定义

获取与此 TreeViewItem 关联的 TreeViewItemAutomationPeer 的子元素的集合。 此方法由 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>

子元素的集合。

注解

此方法递归。 That is, it returns the hierarchy of child objects of the TreeViewItem.

适用于