Udostępnij za pośrednictwem


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

See Also

Reference

ValidationRuleRequiredAttributeValue Class

ValidationRuleRequiredAttributeValue Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace