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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.