IdeaBlade DevForce 2010 Help Reference
GetShouldTreatEmptyStringAsNull Method
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > PropertyValueVerifierAttribute Class : GetShouldTreatEmptyStringAsNull Method



Properties on attribute classes cannot return a value of null so this method is used instead to get the actual IsRequired value

Syntax

Visual Basic (Declaration) 
Public Function GetShouldTreatEmptyStringAsNull() As Nullable(Of Boolean)
Visual Basic (Usage)Copy Code
Dim instance As PropertyValueVerifierAttribute
Dim value As Nullable(Of Boolean)
 
value = instance.GetShouldTreatEmptyStringAsNull()
C# 
public Nullable<bool> GetShouldTreatEmptyStringAsNull()
C++/CLI 
public:
Nullable<bool> GetShouldTreatEmptyStringAsNull(); 

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.