DateTimeRangeValidator Constructor (DateTime, DateTime)
Initializes a new instance of the DateTimeRangeValidator class with lower and upper bound constraints.
Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Validators
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation (in Microsoft.Practices.EnterpriseLibrary.Validation.dll)
'Declaration
Public Sub New ( _
lowerBound As DateTime, _
upperBound As DateTime _
)
public DateTimeRangeValidator(
DateTime lowerBound,
DateTime upperBound
)
public:
DateTimeRangeValidator(
DateTime lowerBound,
DateTime upperBound
)
public function DateTimeRangeValidator(
lowerBound : DateTime,
upperBound : DateTime
)
- lowerBound
Type: System.DateTime
The lower bound.
- upperBound
Type: System.DateTime
The upper bound.
Both bound checks will be Inclusive.
DateTimeRangeValidator Overload
Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace