Version

Equals Method (SmartDate)

Overridden to compare two dates based on value equivalency.
Syntax
'Declaration
 
Public Overrides Function Equals( _
   ByVal o As Object _
) As Boolean
public override bool Equals( 
   object o
)

Parameters

o
Another object reference, if this is of type SmartDate or DateTime then the test of equality is based on value equivalency instead of reference equality.

Return Value

True if the current SmartDate and o represent the same date value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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