StringBuilder Members

The following tables list the members exposed by the StringBuilder type.

Public Constructors

Name Description
Public Method StringBuilder Overloaded. Initializes instances of the StringBuilder class.

Public Properties

Name Description
Public Property Capacity Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.
Public Property Item Gets or sets the character at the specified character position in this instance.
Public Property Length Gets or sets the length of this instance.
Public Property MaxCapacity Gets the maximum capacity of this instance.

Public Methods

Name Description
Public Method Append Overloaded. Specifies the Append property.
Public Method AppendLine Overloaded. Appends information to the end of the current StringBuilder object.
Public Method Clear Removes all characters from the current StringBuilder instance.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Insert Overloaded. Inserts a string or strings at specified character positions.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Remove Removes the specified range of characters from this instance.
Public Method Replace Overloaded. Replaces a string with another string.
Public Method ToString Overloaded. Converts values to String.

See Also

Reference

StringBuilder Class
System.Text Namespace