RangeValidatorAttribute Constructor (Type, String, RangeBoundaryType, String, RangeBoundaryType)
Initializes a new instance of the RangeValidatorAttribute class with fully specified bound constraints using string representations of the boundaries.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public RangeValidatorAttribute(
Type boundType,
string lowerBound,
RangeBoundaryType lowerBoundType,
string upperBound,
RangeBoundaryType upperBoundType
)
'Declaration
Public Sub New (
boundType As Type,
lowerBound As String,
lowerBoundType As RangeBoundaryType,
upperBound As String,
upperBoundType As RangeBoundaryType
)
public:
RangeValidatorAttribute(
Type^ boundType,
String^ lowerBound,
RangeBoundaryType lowerBoundType,
String^ upperBound,
RangeBoundaryType upperBoundType
)
Parameters
- boundType
Type: System.Type
The type of the boundaries.
- lowerBound
Type: System.String
The lower bound represented with a string, or nulla null reference (Nothing in Visual Basic).
- lowerBoundType
Type: Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType
The indication of how to perform the lower bound check.
- upperBound
Type: System.String
The upper bound, or nulla null reference (Nothing in Visual Basic).
- upperBoundType
Type: Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType
The indication of how to perform the upper bound check.
See Also
RangeValidatorAttribute Members
RangeValidatorAttribute Overload
Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace
Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType