NAnt SDK Documentation - v0.85-nightly-2005-11-09

TimeSpanFunctions.GetTotalHours Method 

[This is preliminary documentation and subject to change.]

Returns the total number of hours represented by the specified TimeSpan, expressed in whole and fractional hours.

[Visual Basic]
<Function(Name:="get-total-hours")>
Public Shared Function GetTotalHours( _
   ByVal value As TimeSpan _
) As Double
[C#]
[Function(Name="get-total-hours")]
public static double GetTotalHours(
   TimeSpan value
);

Parameters

value
A TimeSpan.

Return Value

The total number of hours represented by the given TimeSpan.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.TimeSpanFunctions.GetTotalHours(System.TimeSpan)

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace