System::Globalization::DateTimeFormatInfo::GetFormat 方法

DateTimeFormatInfo::GetFormat method

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

SharedPtr<Object> System::Globalization::DateTimeFormatInfo::GetFormat(const TypeInfo &format_type) override
参数类型描述
format_typeconst TypeInfo&要获取的格式化程序类型;仅支持 DateTimeFormatInfo 类型。

ReturnValue

如果不可用,则为 Formatter 或 null。

另见