Méthode System::ICustomFormatter::Format

ICustomFormatter::Format method

Renvoie une représentation sous forme de chaîne d’une valeur représentée par l’objet actuel en utilisant le format spécifié.

virtual System::String System::ICustomFormatter::Format(System::String format, System::SharedPtr<System::Object> arg, System::SharedPtr<System::IFormatProvider> formatProvider)=0
ParamètreTypeDescription
formatSystem::StringLe format de chaîne
argSystem::SharedPtr<System::Object>L’objet à formater
formatProviderSystem::SharedPtr<System::IFormatProvider>L’objet fournissant les informations de formatage

ReturnValue

La représentation sous forme de chaîne de arg formatée selon le format spécifié par format et formatProvider

Voir aussi