Gemstone Common Library
Show/Hide TOC

# TimeTagBaseEquality(DateTime, TimeTagBase) Operator

Returns true if value1 is equal to value2.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.151 -- Release Build+cb63b4525778c53d196bb55bacd9a49fac1f0f07
C#
View Source Request Example

    public static bool operator ==(
    	DateTime value1,
    	TimeTagBase? value2
    )

VB
View Source Request Example

    Public Shared Operator = (
    	value1 As DateTime,
    	value2 As TimeTagBase
    ) As Boolean

C++
View Source Request Example

    public:
    static bool operator ==(
    	DateTime value1,
    	TimeTagBase^ value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 DateTime
  Value 1 in the comparison.
value2 TimeTagBase
  Value 2 in the comparison.

#### Return Value

Boolean
true if value1 is equal to value2; otherwise false.

## See Also

#### Reference

TimeTagBase Class
Equality Overload
Gemstone Namespace