Partager via


TimeSpan.operator > Method

Determines whether a specified TimeSpan object (time period) is greater than another specified TimeSpan object.

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

Syntax

public static bool operator > (
         TimeSpan t1,
         TimeSpan t2
)

Parameters

  • t1
    A TimeSpan object that constitutes the first operand.
  • t2
    A TimeSpan object that constitutes the second operand.

Return Value

true if the object specified by the t1 parameter is greater than the object specified by the t2 parameter; 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