StringBuilder Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The StringBuilder type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Boolean) Appends the string representation of a specified Boolean value to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Byte) Appends the string representation of a specified 8-bit unsigned integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Char) Appends the string representation of a specified Unicode character to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(array<Char[]) Appends the string representation of the Unicode characters in a specified array to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Double) Appends the string representation of a specified double-precision floating-point number to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Int16) Appends the string representation of a specified 16-bit signed integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Int32) Appends the string representation of a specified 32-bit signed integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Int64) Appends the string representation of a specified 64-bit signed integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Object) Appends the string representation of a specified object to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(SByte) Appends the string representation of a specified 8-bit signed integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Single) Appends the string representation of a specified single-precision floating-point number to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(String) Appends a copy of the specified string to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(UInt16) Appends the string representation of a specified 16-bit unsigned integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(UInt32) Appends the string representation of a specified 32-bit unsigned integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(UInt64) Appends the string representation of a specified 64-bit unsigned integer to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(Char, Int32) Appends a specified number of copies of the string representation of a Unicode character to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(array<Char[], Int32, Int32) Appends the string representation of a specified subarray of Unicode characters to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Append(String, Int32, Int32) Appends a copy of a specified substring to the end of this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AppendFormat(String, array<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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AppendFormat(IFormatProvider, String, array<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.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AppendLine() Appends the default line terminator to the end of the current StringBuilder object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 AppendLine(String) Appends a copy of the specified string and the default line terminator to the end of the current StringBuilder object.
Public methodSupported by Silverlight for Windows Phone Clear Removes all characters from the current StringBuilder instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 EnsureCapacity Ensures that the capacity of this instance of StringBuilder is at least the specified value.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(StringBuilder) Returns a value indicating whether this instance is equal to a specified object.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert(Int32, array<Char[]) Inserts the string representation of a specified array of Unicode characters into this instance at the specified character position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert(Int32, String) Inserts a string into this instance at the specified character position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert(Int32, String, Int32) Inserts one or more copies of a specified string into this instance at the specified character position.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Insert(Int32, array<Char[], Int32, Int32) Inserts the string representation of a specified subarray of Unicode characters into this instance at the specified character position.
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Remove Removes the specified range of characters from this instance.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(Char, Char) Replaces all occurrences of a specified character in this instance with another specified character.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(String, String) Replaces all occurrences of a specified string in this instance with another specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(Char, Char, Int32, Int32) Replaces, within a substring of this instance, all occurrences of a specified character with another specified character.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Replace(String, String, Int32, Int32) Replaces, within a substring of this instance, all occurrences of a specified string with another specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString() Converts the value of this instance to a String. (Overrides Object.ToString().)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int32, Int32) Converts the value of a substring of this instance to a String.

Top