DateTime.Equals Method (Object)

Windows Automotive 5.0/5.5
Determines whether the specified DateTime object is equal to the current DateTime object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

public override bool Equals (
         Object val
)

Parameters

val
A specific date and time.

Return Value

true if the val parameter is the same for the specified DateTime object and the current DateTime object; otherwise, false.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: