Share via


ValidateFormField.ExpectedValue Property

Gets or sets the expected value of the form field.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Property ExpectedValue As String
'Usage
Dim instance As ValidateFormField 
Dim value As String 

value = instance.ExpectedValue

instance.ExpectedValue = value
public string ExpectedValue { get; set; }
public:
property String^ ExpectedValue {
    String^ get ();
    void set (String^ value);
}
public function get ExpectedValue () : String 
public function set ExpectedValue (value : String)

Property Value

Type: System.String
The expected value of the form field.

.NET Framework Security

See Also

Reference

ValidateFormField Class

ValidateFormField Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace