Format()

ICustomFormatter::Format(System::String, System::SharedPtr<System::Object>, System::SharedPtr<System::IFormatProvider>) method

Returns a string representation of a value represented by the current object using the specified format.

virtual System::String System::ICustomFormatter::Format(System::String format, System::SharedPtr<System::Object> arg, System::SharedPtr<System::IFormatProvider> formatProvider)=0

Arguments

ParameterTypeDescription
formatSystem::StringThe string format
argSystem::SharedPtr<System::Object>The object to be formatted
formatProviderSystem::SharedPtr<System::IFormatProvider>The object providing the formatting information

Return Value

The string representation of arg formatted according to the format specified by format and formatProvider

See Also