ExtractionRule.RuleName 属性

更新: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 DisplayNameAttribute on the class to set a display name for this rule.",  _
    False)> _
Public Overridable ReadOnly Property RuleName As String
用法
Dim instance As ExtractionRule
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

权限

另请参见

参考

ExtractionRule 类

ExtractionRule 成员

Microsoft.VisualStudio.TestTools.WebTesting 命名空间