System::ICustomFormatter::Format método

ICustomFormatter::Format method

Devuelve una representación en cadena de un valor representado por el objeto actual usando el formato especificado.

virtual System::String System::ICustomFormatter::Format(System::String format, System::SharedPtr<System::Object> arg, System::SharedPtr<System::IFormatProvider> formatProvider)=0
ParámetroTipoDescripción
formatoSystem::StringEl formato de cadena
argSystem::SharedPtr<System::Object>El objeto a formatear
formatProviderSystem::SharedPtr<System::IFormatProvider>El objeto que proporciona la información de formato

ReturnValue

La representación en cadena de arg formateada según el formato especificado por format y formatProvider

Ver también