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)

[ObsoleteAttribute("This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
public virtual string RuleName { get; }

Property Value

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

This is used for user interface localization.

Community Additions