ValidationRuleRequiredAttributeValue.ExpectedValue Property
Gets or sets the expected value of the attribute.
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 ValidationRuleRequiredAttributeValue
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 attribute.
Remarks
The attribute expected to have this value is defined in AttributeName.
.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.
See Also
Reference
ValidationRuleRequiredAttributeValue Class