Compartilhar via


Propriedade UITestControl.TopParent

Obtém o pai de nível superior desse controle.

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

Sintaxe

'Declaração
Public Overridable ReadOnly Property TopParent As UITestControl
    Get
public virtual UITestControl TopParent { get; }
public:
virtual property UITestControl^ TopParent {
    UITestControl^ get ();
}
abstract TopParent : UITestControl
override TopParent : UITestControl
function get TopParent () : UITestControl

Valor de propriedade

Tipo: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
O pai de nível superior desse controle.

Segurança do .NET Framework

Consulte também

Referência

UITestControl Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting