Méthode System::String::Format

String::Format(const SharedPtr<IFormatProvider>&, const String&, const Args&…) method

Formate la chaîne au style C#.

template<class...> String System::String::Format(const SharedPtr<IFormatProvider> &fp, const String &format, const Args &... args)
ParamètreDescription
ArgsArguments pour formater la chaîne.
ParamètreTypeDescription
fpconst SharedPtr<IFormatProvider>&Fournisseur de format à utiliser pour convertir les arguments en chaînes.
formatconst String&Chaîne de format.
argsconst Args&…Arguments pour formater la chaîne.

Voir aussi

String::Format(const String&, const Args&…) method

Formate la chaîne au style C#.

template<class...> String System::String::Format(const String &format, const Args &... args)
ParamètreDescription
ArgsArguments pour formater la chaîne.
ParamètreTypeDescription
formatconst String&Chaîne de format.
argsconst Args&…Arguments pour formater la chaîne.

Voir aussi

String::Format(const String&, const System::ArrayPtr<T>&) method

Formate la chaîne au style C#.

template<class T> String System::String::Format(const String &format, const System::ArrayPtr<T> &args)
ParamètreDescription
TArguments pour formater la chaîne.
ParamètreTypeDescription
formatconst String&Chaîne de format.
argsconst System::ArrayPtr<T>&Arguments pour formater la chaîne.

Voir aussi

String::Format(std::nullptr_t, const char16_t(&), const Args&…) method

Formate la chaîne au style C#.

template<std::size_t,class...> String System::String::Format(std::nullptr_t, const char16_t(&format)[N], const Args &... args)
ParamètreDescription
ArgsArguments pour formater la chaîne.
ParamètreTypeDescription
formatstd::nullptr_tChaîne de format.
argsconst char16_t(&)Arguments pour formater la chaîne.

Voir aussi

String::Format(std::nullptr_t, const String&, const Args&…) method

Formate la chaîne au style C#.

template<class...> String System::String::Format(std::nullptr_t, const String &format, const Args &... args)
ParamètreDescription
ArgsArguments pour formater la chaîne.
ParamètreTypeDescription
formatstd::nullptr_tChaîne de format.
argsconst String&Arguments pour formater la chaîne.

Voir aussi