NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TimeSpan.FromMilliseconds

Creates a TimeSpan that represents the number of milliseconds specified.

[Visual Basic]
Public Shared Function FromMilliseconds( _
   ByVal value As Double _
) As TimeSpan
[C#]
public static TimeSpan FromMilliseconds(
   double value
);
[C++]
public: static TimeSpan FromMilliseconds(
   double value
);
[JScript]
public static function FromMilliseconds(
   value : double
) : TimeSpan;

Parameters

value
A floating-point number in units of milliseconds.

Return Value

A TimeSpan that represents value to the nearest millisecond.

Remarks

The ticks value is computed by rounding value to the nearest integer and then converting from milliseconds to ticks.

See Also

TimeSpan Structure | TimeSpan Members | System Namespace | Double | Ticks | Milliseconds