%%PageItemTitle%%

Compare .NET Objects

Compare .NET Objects
TreatStringEmptyAndNullTheSame Property
See Also  Send Feedback
KellermanSoftware.CompareNetObjects Namespace > ComparisonConfig Class : TreatStringEmptyAndNullTheSame Property


Glossary Item Box

If true, string.empty and null will be treated as equal for Strings and String Builder. The default is false.

Syntax

Visual Basic (Declaration) 
<System.Runtime.Serialization.DataMemberAttribute()>
Public Property TreatStringEmptyAndNullTheSame As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As ComparisonConfig
Dim value As System.Boolean
 
instance.TreatStringEmptyAndNullTheSame = value
 
value = instance.TreatStringEmptyAndNullTheSame
C# 
[System.Runtime.Serialization.DataMember()]
public System.bool TreatStringEmptyAndNullTheSame {get; set;}
Managed Extensions for C++ 
[System.Runtime.Serialization.DataMember()]
public: __property System.bool get_TreatStringEmptyAndNullTheSame();
public: __property void set_TreatStringEmptyAndNullTheSame( 
   System.bool value
);

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

© Kellerman Software 2018 All Rights Reserved.