## DateTime::operator+= method


将当前对象设置为当前对象的值与指定时间跨度之和的日期时间值。

```cpp
DateTime & System::DateTime::operator+=(TimeSpan value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | TimeSpan | 要添加的时间跨度 |

### ReturnValue

对自身的引用

## 另见

* Class [DateTime](../)
* Class [TimeSpan](../../timespan/)
* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
另见

* Class [DateTime](../)
* Class [TimeSpan](../../timespan/)
* Class [DateTime](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
