Compartilhar via


Construtor ValidationAction (UITechnologyElement, String, String)

Inicializa uma nova instância de ValidationAction classe usando o elemento fornecido, o nome de propriedade e valor da propriedade.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (em Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintaxe

'Declaração
Protected Sub New ( _
    uiElement As UITechnologyElement, _
    propertyName As String, _
    expectedValue As String _
)
protected ValidationAction(
    UITechnologyElement uiElement,
    string propertyName,
    string expectedValue
)
protected:
ValidationAction(
    UITechnologyElement^ uiElement, 
    String^ propertyName, 
    String^ expectedValue
)
new : 
        uiElement:UITechnologyElement * 
        propertyName:string * 
        expectedValue:string -> ValidationAction
protected function ValidationAction(
    uiElement : UITechnologyElement, 
    propertyName : String, 
    expectedValue : String
)

Parâmetros

  • propertyName
    Tipo: System.String
    O nome da propriedade para validar.

Segurança do .NET Framework

Consulte também

Referência

ValidationAction Classe

Sobrecargas ValidationAction

Namespace Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement