Share via


XrmTimeSpan.Hours Property

Definition

Gets the number of whole hours represented by the current XrmTimeSpan structure.

public:
 property int Hours { int get(); void set(int value); };
public int Hours { get; set; }
member this.Hours : int with get, set
Public Property Hours As Integer

Property Value

The number of whole hours represented by the current XrmTimeSpan structure.

Remarks

The value of this property is an Int32 type that is the hours component of this instance. The return value ranges from -23 through 23.

Applies to