GetInstance()

DateTimeFormatInfo::GetInstance(const IFormatProviderPtr&) method

Gets formatter associated with format provider.

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

Arguments

ParameterTypeDescription
providerconst IFormatProviderPtr&Provider to get format for.

Return Value

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

See Also