Share via


XrmTimeSpan.Hours Property

 

Applies To: Dynamics CRM 2015

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

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Syntax

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

Property Value

Type: System.Int32

Type: Int32
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.

See Also

XrmTimeSpan Structure
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright