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.FromMinutes

Creates a TimeSpan that represents the number of minutes specified.

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

Parameters

value
A floating-point number in units of minutes.

Return Value

A TimeSpan that represents the number of minutes specified by value to the nearest millisecond.

Remarks

The ticks value is computed by converting the value parameter from units of minutes to units of milliseconds, rounding to the nearest integer, and then converting from milliseconds to ticks.

See Also

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