IViewAutomationPeer.GetChildren Method (List<AutomationPeer>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the collection of immediate child elements of the specified UI Automation peer.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

List<AutomationPeer> GetChildren(
	List<AutomationPeer> children
)

Parameters

children
Type: System.Collections.Generic.List<AutomationPeer>

The automation peers for the list items.

Return Value

Type: System.Collections.Generic.List<AutomationPeer>

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.

.NET Framework
Available since 3.0
Return to top
Show: