System::Text::StringBuilder::Append method

StringBuilder::Append(char_t) method

Adds character to builder.

StringBuilder * System::Text::StringBuilder::Append(char_t c)
ParameterTypeDescription
cchar_tCharacter value.

ReturnValue

This pointer.

See Also

StringBuilder::Append(char_t, int) method

Adds characters to builder.

StringBuilder * System::Text::StringBuilder::Append(char_t c, int count)
ParameterTypeDescription
cchar_tCharacter value.
countintHow many times to repeat insertee character.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const ArrayPtr<char_t>&) method

Adds characters array to builder.

StringBuilder * System::Text::StringBuilder::Append(const ArrayPtr<char_t> &arr)
ParameterTypeDescription
arrconst ArrayPtr<char_t>&Characters to add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const ArrayPtr<char_t>&, int, int) method

Adds characters array slice to builder.

StringBuilder * System::Text::StringBuilder::Append(const ArrayPtr<char_t> &arr, int startIndex, int charCount)
ParameterTypeDescription
arrconst ArrayPtr<char_t>&Characters to add.
startIndexintSlice beginning index.
charCountintSlice length.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const String&) method

Adds string to builder.

StringBuilder * System::Text::StringBuilder::Append(const String &str)
ParameterTypeDescription
strconst String&String to add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const String&, int, int) method

Adds string slice to builder.

StringBuilder * System::Text::StringBuilder::Append(const String &str, int startIndex, int charCount)
ParameterTypeDescription
strconst String&String to add.
startIndexintSlice beginning index.
charCountintSlice length.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const SharedPtr<T>&) method

Adds object’s string representation to builder.

template<class T> StringBuilder * System::Text::StringBuilder::Append(const SharedPtr<T> &obj)
ParameterDescription
TObject type.
ParameterTypeDescription
objconst SharedPtr<T>&Object to serialize and add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(const SharedPtr<StringBuilder>&) method

Adds builder’s content to builder.

StringBuilder * System::Text::StringBuilder::Append(const SharedPtr<StringBuilder> &builder)
ParameterTypeDescription
builderconst SharedPtr<StringBuilder>&Builder to add content from.

ReturnValue

This pointer.

See Also

StringBuilder::Append(float) method

Adds floating point value to builder.

StringBuilder * System::Text::StringBuilder::Append(float f)
ParameterTypeDescription
ffloatValue to serialize and add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(double) method

Adds floating point value to builder.

StringBuilder * System::Text::StringBuilder::Append(double df)
ParameterTypeDescription
dfdoubleValue to serialize and add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(int) method

Adds integer value to builder.

StringBuilder * System::Text::StringBuilder::Append(int i)
ParameterTypeDescription
iintValue to serialize and add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(T) method

Adds arithmetic value to builder.

template<typename T> std::enable_if<std::is_arithmetic<T>::value, StringBuilder *>::type System::Text::StringBuilder::Append(T value)
ParameterDescription
TArithmetic type.
ParameterTypeDescription
valueTValue to serialize and add.

ReturnValue

This pointer.

See Also

StringBuilder::Append(E) method

Adds enum value string representation to builder.

template<class E> std::enable_if<std::is_enum<E>::value, StringBuilder *>::type System::Text::StringBuilder::Append(E e)
ParameterDescription
EEnum type.
ParameterTypeDescription
eEValue to serialize and add.

ReturnValue

This pointer.

See Also