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)
Syntax
'Declaration
Public Function GetParent As UITestControl
public UITestControl GetParent()
public:
UITestControl^ GetParent()
member GetParent : unit -> UITestControl
public function GetParent() : UITestControl
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The parent 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.