Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

protected:
ValidationAction(
	UITechnologyElement^ uiElement,
	String^ propertyName,
	String^ expectedValue
)

Parameters

uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^

A UI element that is represented by a UITechnologyElement object.

propertyName
Type: System::String^

The name of the property to validate.

expectedValue
Type: System::String^

The value of the property as a string.

Return to top
Show: