Export (0) Print
Expand All

StringBuilder Members

Represents a mutable string of characters. This class cannot be inherited.

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

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework StringBuilder Overloaded. Initializes a new instance of the StringBuilder class.
Top

  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Capacity Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Chars Gets or sets the character at the specified character position in this instance.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Length Gets or sets the length of the current StringBuilder object.
Public property MaxCapacity Gets the maximum capacity of this instance.
Top

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Append Overloaded. Appends the string representation of a specified object to the end of this instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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.
Public method Supported by the XNA Framework 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.
Public method CopyTo Copies the characters from a specified segment of this instance to a specified segment of a destination Char array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EnsureCapacity Ensures that the capacity of this instance of StringBuilder is at least the specified value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. Returns a value indicating whether this instance is equal to a specified object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Insert Overloaded. Inserts the string representation of a specified object into this instance at a specified character position.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes the specified range of characters from this instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Replace Overloaded. Replaces all occurrences of a specified character or string in this instance with another specified character or string.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Overloaded. Overridden. Converts the value of a StringBuilder to a String.
Top

Community Additions

ADD
Show:
© 2014 Microsoft