Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AutomationPeer.GetChildren Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?