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
'Usage
Dim instance As ValidationRule 
Dim value As String 

value = instance.RuleName
[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 ();
}
public function get RuleName () : String

Property Value

Type: System.String
The name of the validation rule.

Remarks

This is used for user interface localization.

.NET Framework Security

See Also

Reference

ValidationRule Class

ValidationRule Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace