Edit

Share via


GridViewAutomationPeer.IViewAutomationPeer.GetChildren Method

Definition

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

 virtual System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren(System::Collections::Generic::List<System::Windows::Automation::Peers::AutomationPeer ^> ^ children) = System::Windows::Automation::Peers::IViewAutomationPeer::GetChildren;
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> IViewAutomationPeer.GetChildren (System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> children);
abstract member System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
override this.System.Windows.Automation.Peers.IViewAutomationPeer.GetChildren : System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer> -> System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
Function GetChildren (children As List(Of AutomationPeer)) As List(Of AutomationPeer) Implements IViewAutomationPeer.GetChildren

Parameters

children
List<AutomationPeer>

Collection of child objects you want to get.

Returns

Collection of child objects.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the GridViewAutomationPeer instance is cast to an IViewAutomationPeer interface.

Applies to