ValidationRule.RuleName プロパティ

更新 : 2007 年 11 月

メモ : この API は、互換性のために残されています。

派生クラスでオーバーライドされている場合、規則を選択したときにユーザー インターフェイスに表示される名前、またはエディタに表示される名前を取得します。

名前空間 :  Microsoft.VisualStudio.TestTools.WebTesting
アセンブリ :  Microsoft.VisualStudio.QualityTools.WebTestFramework (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.",  _
    False)> _
Public Overridable ReadOnly Property RuleName As String
'使用
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

プロパティ値

型 : System.String

検証規則の名前。

解説

ユーザー インターフェイスのローカリゼーションの目的で使用されます。

アクセス許可

  • 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

ValidationRule クラス

ValidationRule メンバ

Microsoft.VisualStudio.TestTools.WebTesting 名前空間