System::ICustomFormatter::Format method

ICustomFormatter::Format 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
ParameterTypeDescription
formatSystem::StringThe string format
argSystem::SharedPtr<System::Object>The object to be formatted
formatProviderSystem::SharedPtr<System::IFormatProvider>The object providing the formatting information

ReturnValue

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

See Also