Compartir a través de


TimeSpan.Equals Method (Object)

Determines whether the specified time-period object is equal to the current TimeSpan object (time period).

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

Syntax

public override bool Equals (
         Object value
)

Parameters

  • value
    An object that specifies a period of time.

Return Value

true if the time-period object represented by the value parameter and the current TimeSpan object specify the same period of time; otherwise, false.

Version Information

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

See Also

Reference

TimeSpan Structure
TimeSpan Members
System Namespace