StringBuilder Methods

 

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAppend(Boolean)

Appends the string representation of a specified Boolean value to this instance.

System_CAPS_pubmethodAppend(Byte)

Appends the string representation of a specified 8-bit unsigned integer to this instance.

System_CAPS_pubmethodAppend(Char)

Appends the string representation of a specified Char object to this instance.

System_CAPS_pubmethodAppend(Char*, Int32)

Appends an array of Unicode characters starting at a specified address to this instance.

System_CAPS_pubmethodAppend(Char, Int32)

Appends a specified number of copies of the string representation of a Unicode character to this instance.

System_CAPS_pubmethodAppend(Char[])

Appends the string representation of the Unicode characters in a specified array to this instance.

System_CAPS_pubmethodAppend(Char[], Int32, Int32)

Appends the string representation of a specified subarray of Unicode characters to this instance.

System_CAPS_pubmethodAppend(Decimal)

Appends the string representation of a specified decimal number to this instance.

System_CAPS_pubmethodAppend(Double)

Appends the string representation of a specified double-precision floating-point number to this instance.

System_CAPS_pubmethodAppend(Int16)

Appends the string representation of a specified 16-bit signed integer to this instance.

System_CAPS_pubmethodAppend(Int32)

Appends the string representation of a specified 32-bit signed integer to this instance.

System_CAPS_pubmethodAppend(Int64)

Appends the string representation of a specified 64-bit signed integer to this instance.

System_CAPS_pubmethodAppend(Object)

Appends the string representation of a specified object to this instance.

System_CAPS_pubmethodAppend(SByte)

Appends the string representation of a specified 8-bit signed integer to this instance.

System_CAPS_pubmethodAppend(Single)

Appends the string representation of a specified single-precision floating-point number to this instance.

System_CAPS_pubmethodAppend(String)

Appends a copy of the specified string to this instance.

System_CAPS_pubmethodAppend(String, Int32, Int32)

Appends a copy of a specified substring to this instance.

System_CAPS_pubmethodAppend(UInt16)

Appends the string representation of a specified 16-bit unsigned integer to this instance.

System_CAPS_pubmethodAppend(UInt32)

Appends the string representation of a specified 32-bit unsigned integer to this instance.

System_CAPS_pubmethodAppend(UInt64)

Appends the string representation of a specified 64-bit unsigned integer to this instance.

System_CAPS_pubmethodAppendFormat(IFormatProvider, String, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument using a specified format provider.

System_CAPS_pubmethodAppendFormat(IFormatProvider, String, Object, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments using a specified format provider.

System_CAPS_pubmethodAppendFormat(IFormatProvider, String, Object, Object, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments using a specified format provider.

System_CAPS_pubmethodAppendFormat(IFormatProvider, String, Object[])

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding argument in a parameter array using a specified format provider.

System_CAPS_pubmethodAppendFormat(String, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument.

System_CAPS_pubmethodAppendFormat(String, Object, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments.

System_CAPS_pubmethodAppendFormat(String, Object, Object, Object)

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments.

System_CAPS_pubmethodAppendFormat(String, Object[])

Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding argument in a parameter array.

System_CAPS_pubmethodAppendLine()

Appends the default line terminator to the end of the current StringBuilder object.

System_CAPS_pubmethodAppendLine(String)

Appends a copy of the specified string followed by the default line terminator to the end of the current StringBuilder object.

System_CAPS_pubmethodClear()

Removes all characters from the current StringBuilder instance.

System_CAPS_pubmethodCopyTo(Int32, Char[], Int32, Int32)

Copies the characters from a specified segment of this instance to a specified segment of a destination Char array.

System_CAPS_pubmethodEnsureCapacity(Int32)

Ensures that the capacity of this instance of StringBuilder is at least the specified value.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodEquals(StringBuilder)

Returns a value indicating whether this instance is equal to a specified object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInsert(Int32, Boolean)

Inserts the string representation of a Boolean value into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Byte)

Inserts the string representation of a specified 8-bit unsigned integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Char)

Inserts the string representation of a specified Unicode character into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Char[])

Inserts the string representation of a specified array of Unicode characters into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Char[], Int32, Int32)

Inserts the string representation of a specified subarray of Unicode characters into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Decimal)

Inserts the string representation of a decimal number into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Double)

Inserts the string representation of a double-precision floating-point number into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Int16)

Inserts the string representation of a specified 16-bit signed integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Int32)

Inserts the string representation of a specified 32-bit signed integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Int64)

Inserts the string representation of a 64-bit signed integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Object)

Inserts the string representation of an object into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, SByte)

Inserts the string representation of a specified 8-bit signed integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, Single)

Inserts the string representation of a single-precision floating point number into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, String)

Inserts a string into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, String, Int32)

Inserts one or more copies of a specified string into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, UInt16)

Inserts the string representation of a 16-bit unsigned integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, UInt32)

Inserts the string representation of a 32-bit unsigned integer into this instance at the specified character position.

System_CAPS_pubmethodInsert(Int32, UInt64)

Inserts the string representation of a 64-bit unsigned integer into this instance at the specified character position.

System_CAPS_pubmethodRemove(Int32, Int32)

Removes the specified range of characters from this instance.

System_CAPS_pubmethodReplace(Char, Char)

Replaces all occurrences of a specified character in this instance with another specified character.

System_CAPS_pubmethodReplace(Char, Char, Int32, Int32)

Replaces, within a substring of this instance, all occurrences of a specified character with another specified character.

System_CAPS_pubmethodReplace(String, String)

Replaces all occurrences of a specified string in this instance with another specified string.

System_CAPS_pubmethodReplace(String, String, Int32, Int32)

Replaces, within a substring of this instance, all occurrences of a specified string with another specified string.

System_CAPS_pubmethodToString()

Converts the value of this instance to a String.(Overrides Object.ToString().)

System_CAPS_pubmethodToString(Int32, Int32)

Converts the value of a substring of this instance to a String.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Populates a System.Runtime.Serialization.SerializationInfo object with the data necessary to deserialize the current StringBuilder object.

Return to top
Show: