Append()
Contents
[
Hide
]StringBuilder::Append(char_t) method
Adds character to builder.
StringBuilder * System::Text::StringBuilder::Append(char_t c)
Arguments
Parameter | Type | Description |
---|---|---|
c | char_t | Character value. |
Return Value
This pointer.
StringBuilder::Append(char_t, int) method
Adds characters to builder.
StringBuilder * System::Text::StringBuilder::Append(char_t c, int count)
Arguments
Parameter | Type | Description |
---|---|---|
c | char_t | Character value. |
count | int | How many times to repeat insertee character. |
Return Value
This pointer.
StringBuilder::Append(const ArrayPtr<char_t>&) method
Adds characters array to builder.
StringBuilder * System::Text::StringBuilder::Append(const ArrayPtr<char_t> &arr)
Arguments
Parameter | Type | Description |
---|---|---|
arr | const ArrayPtr<char_t>& | Characters to add. |
Return Value
This pointer.
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)
Arguments
Parameter | Type | Description |
---|---|---|
arr | const ArrayPtr<char_t>& | Characters to add. |
startIndex | int | Slice beginning index. |
charCount | int | Slice length. |
Return Value
This pointer.
StringBuilder::Append(const String&) method
Adds string to builder.
StringBuilder * System::Text::StringBuilder::Append(const String &str)
Arguments
Parameter | Type | Description |
---|---|---|
str | const String& | String to add. |
Return Value
This pointer.
StringBuilder::Append(const String&, int, int) method
Adds string slice to builder.
StringBuilder * System::Text::StringBuilder::Append(const String &str, int startIndex, int charCount)
Arguments
Parameter | Type | Description |
---|---|---|
str | const String& | String to add. |
startIndex | int | Slice beginning index. |
charCount | int | Slice length. |
Return Value
This pointer.
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)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
obj | const SharedPtr<T>& | Object to serialize and add. |
Return Value
This pointer.
StringBuilder::Append(const SharedPtr<StringBuilder>&) method
Adds builder’s content to builder.
StringBuilder * System::Text::StringBuilder::Append(const SharedPtr<StringBuilder> &builder)
Arguments
Parameter | Type | Description |
---|---|---|
builder | const SharedPtr<StringBuilder>& | Builder to add content from. |
Return Value
This pointer.
StringBuilder::Append(float) method
Adds floating point value to builder.
StringBuilder * System::Text::StringBuilder::Append(float f)
Arguments
Parameter | Type | Description |
---|---|---|
f | float | Value to serialize and add. |
Return Value
This pointer.
StringBuilder::Append(double) method
Adds floating point value to builder.
StringBuilder * System::Text::StringBuilder::Append(double df)
Arguments
Parameter | Type | Description |
---|---|---|
df | double | Value to serialize and add. |
Return Value
This pointer.
StringBuilder::Append(int) method
Adds integer value to builder.
StringBuilder * System::Text::StringBuilder::Append(int i)
Arguments
Parameter | Type | Description |
---|---|---|
i | int | Value to serialize and add. |
Return Value
This pointer.
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)
Template parameters
Parameter | Description |
---|---|
T | Arithmetic type. |
Arguments
Parameter | Type | Description |
---|---|---|
value | T | Value to serialize and add. |
Return Value
This pointer.
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)
Template parameters
Parameter | Description |
---|---|
E | Enum type. |
Arguments
Parameter | Type | Description |
---|---|---|
e | E | Value to serialize and add. |
Return Value
This pointer.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class StringBuilder
- Class String
- Namespace System::Text
- Library Aspose.Slides