IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > StringLengthVerifierArgs Class > StringLengthVerifierArgs Constructor : StringLengthVerifierArgs Constructor(Type,String,Boolean,String,Nullable<Int32>,Nullable<Int32>,Nullable<Boolean>) |
'Declaration
Public Function New( _ ByVal type As Type, _ ByVal propertyName As String, _ ByVal isRequired As Boolean, _ ByVal displayName As String, _ ByVal minLength As Nullable(Of Integer), _ ByVal maxLength As Nullable(Of Integer), _ Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _ )
'Usage
Dim type As Type Dim propertyName As String Dim isRequired As Boolean Dim displayName As String Dim minLength As Nullable(Of Integer) Dim maxLength As Nullable(Of Integer) Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean) Dim instance As New StringLengthVerifierArgs(type, propertyName, isRequired, displayName, minLength, maxLength, shouldTreatEmptyStringAsNull)
public StringLengthVerifierArgs( Type type, string propertyName, bool isRequired, string displayName, Nullable<int> minLength, Nullable<int> maxLength, Nullable<bool> shouldTreatEmptyStringAsNull )
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