共用方式為


ExtractionRule.RuleDescription 屬性

更新:2007 年 11 月

請注意:這個 API 現在已經過時。

這個方法已不再使用。請使用類別上的 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

Dim instance As ExtractionRule
Dim value As String

value = instance.RuleDescription
[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 ();
}
public function get RuleDescription () : String

屬性值

型別:System.String

使用權限

請參閱

參考

ExtractionRule 類別

ExtractionRule 成員

Microsoft.VisualStudio.TestTools.WebTesting 命名空間