MetadataValidatedType Constructor
Initializes a new instance of the MetadataValidatedType class for a type and a ruleset.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public MetadataValidatedType(
Type targetType,
string ruleset
)
'Declaration
Public Sub New (
targetType As Type,
ruleset As String
)
public:
MetadataValidatedType(
Type^ targetType,
String^ ruleset
)
Parameters
- targetType
Type: System.Type
The target type.
- ruleset
Type: System.String
The ruleset.