Delen via


AutomationPeer.GetChildren Method

Definition

Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

public:
 virtual IVector<AutomationPeer ^> ^ GetChildren() = GetChildren;
IVector<AutomationPeer> GetChildren();
public IList<AutomationPeer> GetChildren();
function getChildren()
Public Function GetChildren () As IList(Of AutomationPeer)

Returns

The collection of AutomationPeer objects for child elements.

Applies to