Share via


ValidationRule.RuleDescription Property

NOTE: This API is now obsolete.

Gets the description displayed in the user interface when a rule is selected.

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

Syntax

'Declaration
<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.",  _
    False)> _
Public Overridable ReadOnly Property RuleDescription As String
'Usage
Dim instance As ValidationRule 
Dim value As String 

value = instance.RuleDescription
[ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)]
public virtual string RuleDescription { get; }
[ObsoleteAttribute(L"This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)]
public:
virtual property String^ RuleDescription {
    String^ get ();
}
public function get RuleDescription () : String

Property Value

Type: System.String
The description displayed in the user interface when a rule is selected.

Remarks

This is used for user interface localization.

.NET Framework Security

See Also

Reference

ValidationRule Class

ValidationRule Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace