AutomationPeer.GetControlledPeers 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.
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.