System::String::Format method

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

Formats string in C# style.

template<class...> String System::String::Format(const SharedPtr<IFormatProvider> &fp, const String &format, const Args &... args)
ParameterDescription
ArgsArguments to format string.
ParameterTypeDescription
fpconst SharedPtr<IFormatProvider>&Format provider to use to convert arguments to strings.
formatconst String&Format string.
argsconst Args&…Arguments to format string.

See Also

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

Formats string in C# style.

template<class...> String System::String::Format(std::nullptr_t, const String &format, const Args &... args)
ParameterDescription
ArgsArguments to format string.
ParameterTypeDescription
formatstd::nullptr_tFormat string.
argsconst String&Arguments to format string.

See Also

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

Formats string in C# style.

template<std::size_t,class...> String System::String::Format(std::nullptr_t, const char16_t(&format)[N], const Args &... args)
ParameterDescription
ArgsArguments to format string.
ParameterTypeDescription
formatstd::nullptr_tFormat string.
argsconst char16_t(&)Arguments to format string.

See Also

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

Formats string in C# style.

template<class...> String System::String::Format(const String &format, const Args &... args)
ParameterDescription
ArgsArguments to format string.
ParameterTypeDescription
formatconst String&Format string.
argsconst Args&…Arguments to format string.

See Also

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

Formats string in C# style.

template<class T> String System::String::Format(const String &format, const System::ArrayPtr<T> &args)
ParameterDescription
TArguments to format string.
ParameterTypeDescription
formatconst String&Format string.
argsconst System::ArrayPtr<T>&Arguments to format string.

See Also