System::Globalization::DateTimeFormatInfo::GetInstance method

DateTimeFormatInfo::GetInstance method

Gets formatter associated with format provider.

static DateTimeFormatInfoPtr System::Globalization::DateTimeFormatInfo::GetInstance(const IFormatProviderPtr &provider)
ParameterTypeDescription
providerconst IFormatProviderPtr&Provider to get format for.

ReturnValue

Formatter associated with format provider or current thread’s format if unavailable.

See Also