Metodo System::ICustomFormatter::Format

ICustomFormatter::Format method

Restituisce una rappresentazione stringa di un valore rappresentato dall’oggetto corrente usando il formato specificato.

virtual System::String System::ICustomFormatter::Format(System::String format, System::SharedPtr<System::Object> arg, System::SharedPtr<System::IFormatProvider> formatProvider)=0
ParametroTipoDescrizione
formatoSystem::StringIl formato della stringa
argSystem::SharedPtr<System::Object>L’oggetto da formattare
formatProviderSystem::SharedPtr<System::IFormatProvider>L’oggetto che fornisce le informazioni di formattazione

ReturnValue

La rappresentazione stringa di arg formattata secondo il formato specificato da format e formatProvider

Vedi anche