Partilhar via


Propriedade UITestControl.State

Obtém o estado do controle.

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

Sintaxe

'Declaração
Public Overridable ReadOnly Property State As ControlStates
public virtual ControlStates State { get; }
public:
virtual property ControlStates State {
    ControlStates get ();
}
abstract State : ControlStates with get
override State : ControlStates with get
function get State () : ControlStates

Valor de propriedade

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.ControlStates

Segurança do .NET Framework

Consulte também

Referência

UITestControl Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting