Validator rule for data type properties. Validate that a string - when not null - has a length than falls within a minimum and maximum length.

Namespace: Composite.Data.Validation.Validators
Assembly: Composite (in Composite.dll) Version: 6.1.6325.31818

Syntax

C#
public NullStringLengthValidatorAttribute(
	int lowerBound,
	int upperBound
)
Visual Basic
Public Sub New ( _
	lowerBound As Integer, _
	upperBound As Integer _
)
Visual C++
public:
NullStringLengthValidatorAttribute(
	int lowerBound, 
	int upperBound
)

Parameters

lowerBound
Type: System..::..Int32

[Missing <param name="lowerBound"/> documentation for "M:Composite.Data.Validation.Validators.NullStringLengthValidatorAttribute.#ctor(System.Int32,System.Int32)"]

upperBound
Type: System..::..Int32

[Missing <param name="upperBound"/> documentation for "M:Composite.Data.Validation.Validators.NullStringLengthValidatorAttribute.#ctor(System.Int32,System.Int32)"]

See Also