NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime.Equals (DateTime, DateTime)

Determines whether two specified DateTime values are equal.

[Visual Basic]
Overloads Public Shared Function Equals( _
   ByVal t1 As DateTime, _
   ByVal t2 As DateTime _
) As Boolean
[C#]
public static bool Equals(
   DateTime t1,
   DateTime t2
);
[C++]
public: static bool Equals(
   DateTime t1,
   DateTime t2
);
[JScript]
public static function Equals(
   t1 : DateTime,
   t2 : DateTime
) : Boolean;

Parameters

t1
The first DateTime.
t2
The second DateTime.

Return Value

true if the two DateTime values are equal; otherwise, false.

Remarks

The Equals method compares two specified DateTime values to determine whether they are equal and returns a Boolean representation of their relationship.

See Also

DateTime Structure | DateTime Members | System Namespace | DateTime.Equals Overload List | Boolean