Mono Class Library: System.TimeSpan Overview | MembersSystem.TimeSpan.FromMilliseconds Method |
Returns a TimeSpan that represents the specified number of milliseconds where the specification is accurate to the nearest millisecond. [Edit]
|
A TimeSpan that represents value. [Edit]
Type Reason OverflowException The TimeSpan represented by value is greater than TimeSpan.MaxValue or less than TimeSpan.MinValue. [Edit] ArgumentException value is equal to double.NaN. [Edit]
value will only be considered accurate to the nearest millisecond.
If value is double.PositiveInfinity, a TimeSpan with the value TimeSpan.MaxValue is returned. If value is double.NegativeInfinity, a TimeSpan with the value TimeSpan.MinValue is returned.
[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0