Partager via


XrmTimeSpan.Months Property

Definition

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

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

Property Value

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.

Applies to