ValidationRule.RuleDescription 属性

注意:此 API 现在已过时。

获取当选择规则时在用户界面中显示的说明。

命名空间:  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 安全性

请参见

参考

ValidationRule 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间