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


The property on the specified type to be validated.
Whether the property name is required or may be left null.
A display name for the specified property.
Whether to treat an empty string as a null for validation purposes..
Initializes a new instance of the PropertyValueVerifierArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal applicableType As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal displayName As String, _
   Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _
)
'Usage
 
Dim applicableType As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim displayName As String
Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New PropertyValueVerifierArgs(applicableType, propertyName, isRequired, displayName, shouldTreatEmptyStringAsNull)

Parameters

applicableType
propertyName
The property on the specified type to be validated.
isRequired
Whether the property name is required or may be left null.
displayName
A display name for the specified property.
shouldTreatEmptyStringAsNull
Whether to treat an empty string as a null for validation purposes..
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

PropertyValueVerifierArgs Class
PropertyValueVerifierArgs Members
Overload List

Send Feedback