ValidationRuleReference 构造函数 (Type)

使用 ValidationRule 实现的 Type 作为参数,初始化 ValidationRuleReference 类的新实例。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Sub New ( _
    type As Type _
)
public ValidationRuleReference(
    Type type
)
public:
ValidationRuleReference(
    Type^ type
)
new : 
        type:Type -> ValidationRuleReference
public function ValidationRuleReference(
    type : Type
)

参数

.NET Framework 安全性

请参见

参考

ValidationRuleReference 类

ValidationRuleReference 重载

Microsoft.VisualStudio.TestTools.WebTesting 命名空间