Share via


XrmTimeSpan.Years Property

Definition

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

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

Property Value

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

Remarks

The value of this property is an Int32 type that is the years component of this instance.

Applies to