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
[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 ();
}
[<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)>]
abstract RuleDescription : string with get
[<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)>]
override RuleDescription : string with get
function get RuleDescription () : String

Property Value

Type: 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

Microsoft.VisualStudio.TestTools.WebTesting Namespace