StringBuilder Methods
.NET Framework 2.0
| Name | Description | |
|---|---|---|
| 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. |
| Name | Description | |
|---|---|---|
| System.Runtime.Serialization.ISerializable.GetObjectData | Populates a System.Runtime.Serialization.SerializationInfo object with the data necessary to deserialize the current StringBuilder object. |