Edytuj

Udostępnij za pośrednictwem


AutomationPeer.GetControlledPeers Method

Definition

Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

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

Returns

A list of automation peers for the controlled elements.

Exceptions

A public call to this method is currently in progress.

Applies to