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)

public UITestControlCollection GetChildren()

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
A collection of all first-level children of the current UITestControl.

Show: