Bridge

TimeSpan..::..Hours Property

Gets the hours component of the time interval represented by the current TimeSpan structure.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public int Hours { get; }
Public ReadOnly Property Hours As Integer
	Get
public:
property int^ Hours {
	int^ get ();
}

Return Value

The hour component of the current TimeSpan structure. The return value ranges from -23 through 23.