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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.