DevForce Help Reference
RegexVerifierArgs Constructor(Type,String,Boolean,String,NamedRegexPattern,Nullable<Boolean>)


Type of object being verified
The property on the specified type to be verified
Whether the property name is required or may be left null
A display name for the specified property
regular expression pattern that must be matched in order to return successful verification
Initializes a new instance of the RegexVerifierArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal displayName As String, _
   ByVal namedRegexPattern 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 namedRegexPattern As NamedRegexPattern
Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New RegexVerifierArgs(type, propertyName, isRequired, displayName, namedRegexPattern, shouldTreatEmptyStringAsNull)

Parameters

type
Type of object being verified
propertyName
The property on the specified type to be verified
isRequired
Whether the property name is required or may be left null
displayName
A display name for the specified property
namedRegexPattern
regular expression pattern that must be matched in order to return successful verification
shouldTreatEmptyStringAsNull
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

RegexVerifierArgs Class
RegexVerifierArgs Members
Overload List

Send Feedback