System::String::Format methode

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

Formatteert string in C#‑stijl.

template<class...> String System::String::Format(const SharedPtr<IFormatProvider> &fp, const String &format, const Args &... args)
ParameterBeschrijving
ArgumentenArgumenten voor de op te maken string.
ParameterTypeBeschrijving
fpconst SharedPtr<IFormatProvider>&Opmaakprovider die wordt gebruikt om argumenten naar strings te converteren.
formaatconst String&Opmaakreeks.
argsconst Args&…Argumenten voor de op te maken string.

Zie ook

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

Formatteert string in C#‑stijl.

template<class...> String System::String::Format(const String &format, const Args &... args)
ParameterBeschrijving
ArgumentenArgumenten voor de op te maken string.
ParameterTypeBeschrijving
formaatconst String&Opmaakreeks.
argsconst Args&…Argumenten voor de op te maken string.

Zie ook

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

Formatteert string in C#‑stijl.

template<class T> String System::String::Format(const String &format, const System::ArrayPtr<T> &args)
ParameterBeschrijving
TArgumenten voor de op te maken string.
ParameterTypeBeschrijving
formaatconst String&Opmaakreeks.
argsconst System::ArrayPtr<T>&Argumenten voor de op te maken string.

Zie ook

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

Formatteert string in C#‑stijl.

template<std::size_t,class...> String System::String::Format(std::nullptr_t, const char16_t(&format)[N], const Args &... args)
ParameterBeschrijving
ArgumentenArgumenten voor de op te maken string.
ParameterTypeBeschrijving
formaatstd::nullptr_tOpmaakreeks.
argsconst char16_t(&)Argumenten voor de op te maken string.

Zie ook

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

Formatteert string in C#‑stijl.

template<class...> String System::String::Format(std::nullptr_t, const String &format, const Args &... args)
ParameterBeschrijving
ArgumentenArgumenten voor de op te maken string.
ParameterTypeBeschrijving
formaatstd::nullptr_tOpmaakreeks.
argsconst String&Argumenten voor de op te maken string.

Zie ook