StringWriter Class |
Namespace: System.IO
[SerializableAttribute] public class StringWriter : TextWriter
The StringWriter type exposes the following members.
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) | |
Flush | Clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string containing the characters written to the current StringWriter so far. (Overrides ObjectToString.) | |
Write(Boolean) | Writes the text representation of a Boolean value to the text stream. (Inherited from TextWriter.) | |
Write(Char) | Writes a character to the text stream. (Inherited from TextWriter.) | |
Write(Char) | Writes a character array to the text stream. (Inherited from TextWriter.) | |
Write(Decimal) | Writes the text representation of a decimal value to the text stream. (Inherited from TextWriter.) | |
Write(Double) | Writes the text representation of an 8-byte floating-point value to the text stream. (Inherited from TextWriter.) | |
Write(Int32) | Writes the text representation of a 4-byte signed integer to the text stream. (Inherited from TextWriter.) | |
Write(Int64) | Writes the text representation of an 8-byte signed integer to the text stream. (Inherited from TextWriter.) | |
Write(Object) | Writes the text representation of an object to the text stream by calling ToString on that object. (Inherited from TextWriter.) | |
Write(Single) | Writes the text representation of a 4-byte floating-point value to the text stream. (Inherited from TextWriter.) | |
Write(String) | Writes a string to the text stream. (Inherited from TextWriter.) | |
Write(UInt32) | Writes the text representation of a 4-byte unsigned integer to the text stream. (Inherited from TextWriter.) | |
Write(UInt64) | Writes the text representation of an 8-byte unsigned integer to the text stream. (Inherited from TextWriter.) | |
Write(String, Object) | Writes out a formatted string, using the same semantics as Format(String, Object). (Inherited from TextWriter.) | |
Write(String, Object) | Writes out a formatted string, using the same semantics as Format(String, Object). (Inherited from TextWriter.) | |
Write(Char, Int32, Int32) | Writes a subarray of characters to the text stream. (Inherited from TextWriter.) | |
Write(String, Object, Object) | Writes out a formatted string, using the same semantics as Format(String, Object). (Inherited from TextWriter.) | |
Write(String, Object, Object, Object) | Writes out a formatted string, using the same semantics as Format(String, Object). (Inherited from TextWriter.) |
Name | Description | |
---|---|---|
CoreNewLine | Stores the new line characters used for this TextWriter. (Inherited from TextWriter.) |