ValidationAction Constructor (UITechnologyElement, String, String)

 

Initializes a new instance of the ValidationAction class by using the provided element, property name, and property value.

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

Syntax

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 Sub New (
    uiElement As UITechnologyElement,
    propertyName As String,
    expectedValue As String
)

Parameters

  • propertyName
    Type: System.String

    The name of the property to validate.

  • expectedValue
    Type: System.String

    The value of the property as a string.

See Also

UITechnologyElement
ValidationAction Overload
ValidationAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top