Rediger

Del via


AutomationPeer.GetChildren Method

Definition

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

public:
 System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildren();
public System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildren ();
member this.GetChildren : unit -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Public Function GetChildren () As List(Of AutomationPeer)

Returns

The collection of child elements.

Exceptions

A public call to this method is currently in progress.

Applies to

See also