## DateTimeOffset::operator+ method


返回一个新的 [DateTimeOffset](../) 类实例，表示当前对象所表示的值与指定时间间隔之和的日期和时间值。

```cpp
DateTimeOffset System::DateTimeOffset::operator+(TimeSpan value) const
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | TimeSpan | 要添加到当前对象所表示的值的时间间隔 |

### ReturnValue

一个新的 [DateTimeOffset](../) 类实例，表示当前对象所表示的值与 **value** 之和的日期和时间值。

## 另见

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