## DateTimeOffset::ToString() const method


Converte l'oggetto corrente in una stringa.

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


### ReturnValue

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

## Vedi anche

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


Converte l'oggetto corrente in una stringa utilizzando il provider di formato specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| fornitore | const SharedPtr\<IFormatProvider\>\& | Provider di formattazione. |

### ReturnValue

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

## Vedi anche

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


Converte l'oggetto corrente in una stringa utilizzando il formato specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| formato | const String\& | Stringa di formato. |

### ReturnValue

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

## Vedi anche

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


Converte l'oggetto corrente in una stringa utilizzando il formato e il provider di formato specificati.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| formato | const String\& | Stringa di formato. |
| fornitore | const SharedPtr\<IFormatProvider\>\& | Provider di formattazione. |

### ReturnValue

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

## Vedi anche

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