Share via


RangeValidatorAttribute Constructor (Double, RangeBoundaryType, Double, RangeBoundaryType)

Initializes a new instance of the RangeValidatorAttribute class with fully specified double bound constraints.

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(
    double lowerBound,
    RangeBoundaryType lowerBoundType,
    double upperBound,
    RangeBoundaryType upperBoundType
)
'Declaration
Public Sub New ( 
    lowerBound As Double,
    lowerBoundType As RangeBoundaryType,
    upperBound As Double,
    upperBoundType As RangeBoundaryType
)
public:
RangeValidatorAttribute(
    double lowerBound, 
    RangeBoundaryType lowerBoundType, 
    double upperBound, 
    RangeBoundaryType upperBoundType
)

Parameters

See Also

RangeValidatorAttribute Class

RangeValidatorAttribute Members

RangeValidatorAttribute Overload

Microsoft.Practices.EnterpriseLibrary.Validation.Validators Namespace

Microsoft.Practices.EnterpriseLibrary.Validation.Validators.RangeBoundaryType