Share via


ValidationRule.RuleName Property

Note: This API is now obsolete.

When overridden in a derived class, gets the name displayed in the user interface when a rule is selected or shown in the editor.

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 DisplayNameAttribute on the class to set a display name for this rule.",  _
    False)> _
Public Overridable ReadOnly Property RuleName As String
[ObsoleteAttribute("This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
    false)]
public virtual string RuleName { get; }
[ObsoleteAttribute(L"This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
    false)]
public:
virtual property String^ RuleName {
    String^ get ();
}
[<ObsoleteAttribute("This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
    false)>]
abstract RuleName : string with get
[<ObsoleteAttribute("This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
    false)>]
override RuleName : string with get
function get RuleName () : String

Property Value

Type: String
The name of the validation rule.

Remarks

This is used for user interface localization.

.NET Framework Security

See Also

Reference

ValidationRule Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace