This documentation is archived and is not being maintained.
.NET Framework 2.0
Represents a mutable string of characters. This class cannot be inherited.
The following tables list the members exposed by the StringBuilder type.
|Capacity||Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.|
|Chars||Gets or sets the character at the specified character position in this instance.|
|Length||Gets or sets the length of the current StringBuilder object.|
|MaxCapacity||Gets the maximum capacity of this instance.|
|Append||Overloaded. Appends the string representation of a specified object to the end of this instance.|
|AppendFormat||Overloaded. Appends a formatted string, which contains zero or more format specifications, to this instance. Each format specification is replaced by the string representation of a corresponding object argument.|
|AppendLine||Overloaded. Appends the default line terminator, or a copy of a specified string and the default line terminator, to the end of this instance.|
|CopyTo||Copies the characters from a specified segment of this instance to a specified segment of a destination Char array.|
|EnsureCapacity||Ensures that the capacity of this instance of StringBuilder is at least the specified value.|
|Equals||Overloaded. Returns a value indicating whether this instance is equal to a specified object.|
|GetHashCode||Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|Insert||Overloaded. Inserts the string representation of a specified object into this instance at a specified character position.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|Remove||Removes the specified range of characters from this instance.|
|Replace||Overloaded. Replaces all occurrences of a specified character or string in this instance with another specified character or string.|
|ToString||Overloaded. Overridden. Converts the value of a StringBuilder to a String.|
|System.Runtime.Serialization.ISerializable.GetObjectData||Populates a System.Runtime.Serialization.SerializationInfo object with the data necessary to deserialize the current StringBuilder object.|