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

TimeSpanFunctions.GetHours Method 

[This is preliminary documentation and subject to change.]

Returns the number of whole hours represented by the specified TimeSpan.

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

Parameters

value
A TimeSpan.

Return Value

The number of whole hours represented by the given TimeSpan.

Remarks

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

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace