## DateTimeOffset::ToString() const method


Convierte el objeto actual a cadena.

```cpp
String System::DateTimeOffset::ToString() const
```


### ReturnValue

[String](../../string/) representation of the current [DateTimeOffset](../) object.

## Ver también

* Class [String](../../string/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## DateTimeOffset::ToString(const SharedPtr\<IFormatProvider\>\&) const method


Convierte el objeto actual a cadena usando el proveedor de formato especificado.

```cpp
String System::DateTimeOffset::ToString(const SharedPtr<IFormatProvider> &provider) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| proveedor | const SharedPtr\<IFormatProvider\>\& | Proveedor de formato. |

### ReturnValue

[String](../../string/) representation of the current [DateTimeOffset](../) object.

## Ver también

* Class [String](../../string/)
* Typedef [SharedPtr](../../sharedptr/)
* Class [IFormatProvider](../../iformatprovider/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## DateTimeOffset::ToString(const String\&) const method


Convierte el objeto actual a cadena usando el formato especificado.

```cpp
String System::DateTimeOffset::ToString(const String &format) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| formato | const String\& | Cadena de formato. |

### ReturnValue

[String](../../string/) representation of the current [DateTimeOffset](../) object.

## Ver también

* Class [String](../../string/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
## DateTimeOffset::ToString(const String\&, const SharedPtr\<IFormatProvider\>\&) const method


Convierte el objeto actual a cadena usando el formato especificado y el proveedor de formato.

```cpp
String System::DateTimeOffset::ToString(const String &format, const SharedPtr<IFormatProvider> &provider) const
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| formato | const String\& | Cadena de formato. |
| proveedor | const SharedPtr\<IFormatProvider\>\& | Proveedor de formato. |

### ReturnValue

[String](../../string/) representation of the current [DateTimeOffset](../) object.

## Ver también

* Class [String](../../string/)
* Typedef [SharedPtr](../../sharedptr/)
* Class [IFormatProvider](../../iformatprovider/)
* Class [DateTimeOffset](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
