This document is archived and information here might be outdated.  Recommended version.


ITimeOffsetOperator.AddMonths Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeOffsetOperator Interface > ITimeOffsetOperator.AddMonths Method
ArcGIS Developer Help

ITimeOffsetOperator.AddMonths Method

Adds the input amount of months.

[Visual Basic .NET]
Public Function AddMonths ( _
    ByVal Value As Double, _
    ByVal preserveEndOfMonth As Boolean, _
    ByVal goForwardOnInvalidDate As Boolean _
) As Boolean
[C#]
public bool AddMonths (
    double Value,
    bool preserveEndOfMonth,
    bool goForwardOnInvalidDate
);
[C++]
HRESULT AddMonths(
  double Value,
  VARIANT_BOOL preserveEndOfMonth,
  VARIANT_BOOL goForwardOnInvalidDate
);
[C++]
Parameters
Value [in]

Value is a parameter of type double preserveEndOfMonth [in]
preserveEndOfMonth is a parameter of type bool goForwardOnInvalidDate [in]
goForwardOnInvalidDate is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITimeOffsetOperator Interface