ValidationRuleReference Constructor (Type)
Initializes a new instance of the ValidationRuleReference class using the Type of the ValidationRule implementation as a parameter.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Sub New ( _
type As Type _
)
public ValidationRuleReference(
Type type
)
public:
ValidationRuleReference(
Type^ type
)
new :
type:Type -> ValidationRuleReference
public function ValidationRuleReference(
type : Type
)
Parameters
- type
Type: System.Type
The Type of the ValidationRule implementation.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.