## DateTimeFormatInfo::GetFormat method


获取特定类型的格式化程序。

```cpp
SharedPtr<Object> System::Globalization::DateTimeFormatInfo::GetFormat(const TypeInfo &format_type) override
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| format_type | const TypeInfo\& | 要获取的格式化程序类型；仅支持 [DateTimeFormatInfo](../) 类型。 |

### ReturnValue

如果不可用，则为格式化程序或 null。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [DateTimeFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.Page for C++](../../../)
