This documentation is archived and is not being maintained.

UITestControl.GetParent Method

Returns the parent of the current UITestControl.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public UITestControl GetParent()

Show: