.NET Framework Class Library
StringBuilder Members

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

The StringBuilder type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkStringBuilderOverloaded. Initializes a new instance of the StringBuilder class.
Top
Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAppendOverloaded. Appends the string representation of a specified object to the end of this instance.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAppendFormatOverloaded. Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding object argument.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkAppendLineOverloaded. Appends the default line terminator, or a copy of a specified string and the default line terminator, to the end of this instance.
Public methodCopyToCopies the characters from a specified segment of this instance to a specified segment of a destination Char array.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEnsureCapacityEnsures that the capacity of this instance of StringBuilder is at least the specified value.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkEqualsOverloaded. Returns a value indicating whether this instance is equal to a specified object.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkInsertOverloaded. Inserts the string representation of a specified object into this instance at a specified character position.
Protected methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkRemoveRemoves the specified range of characters from this instance.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkReplaceOverloaded. Replaces all occurrences of a specified character or string in this instance with another specified character or string.
Public methodSupported by the .NET Compact FrameworkSupported by the XNA FrameworkToStringOverloaded. Converts the value of a StringBuilder to a String.
Top
Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCapacityGets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkCharsGets or sets the character at the specified character position in this instance.
Public propertySupported by the .NET Compact FrameworkSupported by the XNA FrameworkLengthGets or sets the length of the current StringBuilder object.
Public propertyMaxCapacityGets the maximum capacity of this instance.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodISerializable..::.GetObjectDataInfrastructure. Populates a System.Runtime.Serialization..::.SerializationInfo object with the data necessary to deserialize the current StringBuilder object.
Top
See Also

Reference

Tags :


Page view tracker