Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.UITechnologyElementA UI element that is represented by a UITechnologyElement object.
propertyName
Type: StringThe name of the property to validate.
expectedValue
Type: StringThe value of the property as a 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.