DevForce Help Reference
StringLengthVerifier Constructor(Type,String,Boolean,Nullable<Int32>,Nullable<Int32>,Nullable<Boolean>)


See RangeVerifier<T>
Syntax
'Declaration
 
Public Function New( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal minLength As Nullable(Of Integer), _
   ByVal maxLength As Nullable(Of Integer), _
   Optional ByVal treatEmptyStringAsNull As Nullable(Of Boolean) _
)
'Usage
 
Dim type As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim minLength As Nullable(Of Integer)
Dim maxLength As Nullable(Of Integer)
Dim treatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New StringLengthVerifier(type, propertyName, isRequired, minLength, maxLength, treatEmptyStringAsNull)

Parameters

type
propertyName
isRequired
minLength
maxLength
treatEmptyStringAsNull
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringLengthVerifier Class
StringLengthVerifier Members
Overload List

Send Feedback