共用方式為


ExtractionRule.RuleDescription 屬性

注意:這個應用程式開發介面現在已經過時。

這個方法已不再使用。 請使用類別上的 DisplayNameAttribute 以設定此規則的描述。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.",  _
    False)> _
Public Overridable ReadOnly Property RuleDescription As String
[ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)]
public virtual string RuleDescription { get; }
[ObsoleteAttribute(L"This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)]
public:
virtual property String^ RuleDescription {
    String^ get ();
}
[<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)>]
abstract RuleDescription : string with get
[<ObsoleteAttribute("This method is no longer used.  Use DescriptionAttribute on the class to set a description for this rule.", 
    false)>]
override RuleDescription : string with get
function get RuleDescription () : String

屬性值

型別:System.String
規則描述。

.NET Framework 安全性

請參閱

參考

ExtractionRule 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間