Aracılığıyla paylaş


ValidationRule.RuleName Özellik

Not: Bu API artık kullanılmıyor.

Türetilmiş bir sınıfta geçersiz olduğunda kuralı seçili ya da Düzenleyicisi'nde gösterilen kullanıcı arabiriminde görüntülenen adını alır.

Ad alanı:  Microsoft.VisualStudio.TestTools.WebTesting
Derleme:  Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)

Sözdizimi

'Bildirim
<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
    Get
[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
[<ObsoleteAttribute("This method is no longer used.  Use DisplayNameAttribute on the class to set a display name for this rule.", 
    false)>]
override RuleName : string
function get RuleName () : String

Özellik Değeri

Tür: System.String
Geçerlilik kuralı adı.

Açıklamalar

Bu kullanıcı arabirimi yerelleştirme için kullanılır.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

ValidationRule Sınıf

Microsoft.VisualStudio.TestTools.WebTesting Ad Alanı