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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.