UITestControl.GetChildren Method
Returns a collection of all first-level children of the current UITestControl.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function GetChildren As UITestControlCollection
public UITestControlCollection GetChildren()
public:
UITestControlCollection^ GetChildren()
member GetChildren : unit -> UITestControlCollection
public function GetChildren() : UITestControlCollection
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
A collection of all first-level children of the current UITestControl.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.