StringBuilder overview
Public Constructors
StringBuilder Constructor Supported by the .NET Compact Framework. | Overloaded. Initializes a new instance of the StringBuilder class. |
Public Properties
Capacity Supported by the .NET Compact Framework. | 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.
In C#, this property is the indexer for the StringBuilder class. |
Length Supported by the .NET Compact Framework. | Gets or sets the length of this instance. |
MaxCapacity | Gets the maximum capacity of this instance. |
Public Methods
Append Supported by the .NET Compact Framework. | Overloaded. Appends the string representation of a specified object to the end of this instance. |
AppendFormat Supported by the .NET Compact Framework. | 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. |
EnsureCapacity | Ensures that the capacity of this instance of StringBuilder is at least the specified value. |
Equals Supported by the .NET Compact Framework. | Overloaded. Returns a value indicating whether this instance is equal to a specified object. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
Insert Supported by the .NET Compact Framework. | Overloaded. Inserts the string representation of a specified object into this instance at a specified character position. |
Remove Supported by the .NET Compact Framework. | Removes the specified range of characters from this instance. |
Replace Supported by the .NET Compact Framework. | Overloaded. Replaces all occurrences of a specified character or string in this instance with another specified character or string. |
ToString Supported by the .NET Compact Framework. | Overloaded. Overridden. Converts a StringBuilder to a String. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
See Also
StringBuilder Class | System.Text Namespace