GridViewAutomationPeer.IViewAutomationPeer.GetChildren 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.
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.