Compartir a través de


ValidationRule.RuleName (Propiedad)

Nota: esta API ya está obsoleta.

Cuando se reemplaza en una clase derivada, obtiene el nombre mostrado en la interfaz de usuario cuando se selecciona una regla o se muestra en el editor.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.WebTesting
Ensamblado:  Microsoft.VisualStudio.QualityTools.WebTestFramework (en Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintaxis

'Declaración
<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

Valor de propiedad

Tipo: System.String
El nombre de la regla de validación.

Comentarios

Se utiliza para la adaptación de la interfaz de usuario.

Seguridad de .NET Framework

Vea también

Referencia

ValidationRule Clase

Microsoft.VisualStudio.TestTools.WebTesting (Espacio de nombres)