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