ArcGIS Enterprise SDK
ITimeOffsetOperator.AddYears Method
ArcGIS Developer Help

ITimeOffsetOperator.AddYears Method

Adds the input amount of years.

[Visual Basic .NET]
Public Function AddYears ( _
    ByVal Value As Double, _
    ByVal preserveEndOfMonth As Boolean, _
    ByVal goForwardOnInvalidDate As Boolean _
) As Boolean
[C#]
public bool AddYears (
    double Value,
    bool preserveEndOfMonth,
    bool goForwardOnInvalidDate
);

See Also

ITimeOffsetOperator Interface