Jagamisviis:


XrmTimeSpan.Months Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets the number of whole months 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 Months { get; set; }
Public Property Months As Integer

Property Value

Type: System.Int32

Type: Int32
The number of whole months represented by the current XrmTimeSpan structure.

Remarks

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

See Also

XrmTimeSpan Structure
Microsoft.Xrm.Sdk.Workflow Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright