[This is preliminary documentation and is subject to change.]
Returns a TimeSpanFormattable that represents a specified number of milliseconds.
Namespace: ToolsAssembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public static TimeSpanFormattable FromMillseconds( double value ) |
| Visual Basic |
|---|
Public Shared Function FromMillseconds ( _ value As Double _ ) As TimeSpanFormattable |
| Visual C++ |
|---|
public: static TimeSpanFormattable FromMillseconds( double value ) |
| F# |
|---|
static member FromMillseconds : value:float -> TimeSpanFormattable |
| JScript |
|---|
public static function FromMillseconds( value : double ) : TimeSpanFormattable |
Parameters
- value
- Type: System..::..Double
A number of milliseconds.
Return Value
A TimeSpanFormattable that represents value.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | value is equal to NaN. |
| System..::..OverflowException | value is less than MinValue or greater than MaxValue. |