Compartilhar via


Método UITestControl.GetParent

Retorna o pai do atual UITestControl.

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

Sintaxe

'Declaração
Public Function GetParent As UITestControl
public UITestControl GetParent()
public:
UITestControl^ GetParent()
member GetParent : unit -> UITestControl 
public function GetParent() : UITestControl

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
O pai do atual UITestControl.

Segurança do .NET Framework

Consulte também

Referência

UITestControl Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting