IViewAutomationPeer.GetChildren(List<AutomationPeer>) 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 immediate child elements of the specified UI Automation peer.
public:
System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ GetChildren(System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ children);
public System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> GetChildren (System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> children);
abstract member GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Public Function GetChildren (children As List(Of AutomationPeer)) As List(Of AutomationPeer)
Parameters
- children
- List<AutomationPeer>
The automation peers for the list items.
Returns
The automation peers for all items in the control. If the view contains interactive or informational elements in addition to the list items, automation peers for these elements must be added to the list.
Applies to
See also
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.