TimeSpan.MaxValue Field

 

Represents the maximum TimeSpan value. This field is read-only.

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

static val MaxValue : TimeSpan

Field Value

Type: System.TimeSpan

The value of this field is equivalent to Int64.MaxValue ticks. The string representation of this value is positive 10675199.02:48:05.4775807, or slightly more than 10,675,199 days.

The following example references and displays the value of the MaxValue field.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: