## DateTimeFormatInfo::GetInstance method


Obtient le formatteur associé au fournisseur de format.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| fournisseur | const IFormatProviderPtr\& | Fournisseur pour obtenir le format. |

### ReturnValue

Formateur associé au fournisseur de format ou au format du thread actuel si indisponible.

## Voir aussi

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