System::DateTimeOffset::ToString 方法
内容
[
隐藏
]DateTimeOffset::ToString() const method
将当前对象转换为字符串。
String System::DateTimeOffset::ToString() const
ReturnValue
String representation of the current DateTimeOffset object.
另见
- Class String
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++
DateTimeOffset::ToString(const SharedPtr<IFormatProvider>&) const method
使用指定的格式提供程序,将当前对象转换为字符串。
String System::DateTimeOffset::ToString(const SharedPtr<IFormatProvider> &provider) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 提供程序 | const SharedPtr<IFormatProvider>& | 格式提供程序。 |
ReturnValue
String representation of the current DateTimeOffset object.
另见
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++
DateTimeOffset::ToString(const String&) const method
使用指定的格式,将当前对象转换为字符串。
String System::DateTimeOffset::ToString(const String &format) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 格式 | const String& | 格式字符串。 |
ReturnValue
String representation of the current DateTimeOffset object.
另见
- Class String
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++
DateTimeOffset::ToString(const String&, const SharedPtr<IFormatProvider>&) const method
使用指定的格式和格式提供程序,将当前对象转换为字符串。
String System::DateTimeOffset::ToString(const String &format, const SharedPtr<IFormatProvider> &provider) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 格式 | const String& | 格式字符串。 |
| 提供程序 | const SharedPtr<IFormatProvider>& | 格式提供程序。 |
ReturnValue
String representation of the current DateTimeOffset object.
另见
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class DateTimeOffset
- Namespace System
- Library Aspose.Font for C++