AppendFormat()

StringBuilder::AppendFormat(const String&, const TArgs&…) method

Appends formated string to builder.

template<class...> StringBuilder * System::Text::StringBuilder::AppendFormat(const String &format, const TArgs &... args)

Template parameters

ParameterDescription
TArgsArguments type.

Arguments

ParameterTypeDescription
formatconst String&Format string.
argsconst TArgs&…Arguments to insert into format string positions.

Return Value

This pointer.

StringBuilder::AppendFormat(const SharedPtr<IFormatProvider>&, const String&, const TArgs&…) method

Appends formated string to builder.

template<class...> StringBuilder * System::Text::StringBuilder::AppendFormat(const SharedPtr<IFormatProvider> &fp, const String &format, const TArgs &... args)

Template parameters

ParameterDescription
TArgsArguments type.

Arguments

ParameterTypeDescription
fpconst SharedPtr<IFormatProvider>&Format provider; ignored.
formatconst String&Format string.
argsconst TArgs&…Arguments to insert into format string positions.

Return Value

This pointer.

See Also