System::DateTime::AddMonths メソッド
DateTime::AddMonths method
現在のオブジェクトが表す値と指定された月数の合計を表す DateTime クラスの新しいインスタンスを返します。
DateTime System::DateTime::AddMonths(int value) const
| パラメーター | 型 | 説明 |
|---|---|---|
| value | int | 加算する月数; 値は正または負にできます |
ReturnValue
現在のオブジェクトが表す値と value ヶ月の合計を表す DateTime クラスの新しいインスタンス
参照
- Class DateTime
- Class DateTime
- Namespace System
- Library Aspose.Page for C++