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
'Declaration
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
)
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.