System::DateTimeOffset::operator+ 方法
DateTimeOffset::operator+ method
返回一个新的 DateTimeOffset 类实例,该实例表示当前对象表示的值与指定时间跨度之和的日期和时间值。
DateTimeOffset System::DateTimeOffset::operator+(TimeSpan value) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 值 | TimeSpan | 要添加到当前对象表示的值的时间跨度 |
ReturnValue
一个新的 DateTimeOffset 类实例,表示当前对象表示的值与 value 的和的日期和时间值。
另见
- Class DateTimeOffset
- Class TimeSpan
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++