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
- 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.