## DateTimeFormatInfo::GetInstance method


Restituisce il formattatore associato al provider di formato.

```cpp
static DateTimeFormatInfoPtr System::Globalization::DateTimeFormatInfo::GetInstance(const IFormatProviderPtr &provider)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| fornitore | const IFormatProviderPtr\& | Provider per cui ottenere il formato. |

### ReturnValue

Formattatore associato al provider di formattazione o al formato del thread corrente se non disponibile.

## Vedi anche

* Typedef [DateTimeFormatInfoPtr](../../datetimeformatinfoptr/)
* Typedef [IFormatProviderPtr](../../../system/iformatproviderptr/)
* Class [DateTimeFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
