Click or drag to resize

UTF8StringWriter Methods

The UTF8StringWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the current StringWriter and the underlying stream.
(Inherited from StringWriter.)
Public methodDispose
Releases all resources used by the TextWriter object.
(Inherited from TextWriter.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the StringWriter and optionally releases the managed resources.
(Inherited from StringWriter.)
Public methodFlush
Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Inherited from TextWriter.)
Public methodFlushAsync
Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device.
(Inherited from StringWriter.)
Public methodGetStringBuilder
Returns the underlying StringBuilder.
(Inherited from StringWriter.)
Public methodToString
Returns a string containing the characters written to the current StringWriter so far.
(Inherited from StringWriter.)
Public methodWrite(Char)
Writes a character to the string.
(Inherited from StringWriter.)
Public methodWrite(String)
Writes a string to the current string.
(Inherited from StringWriter.)
Public methodWrite(Char)
Writes a character array to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Boolean)
Writes the text representation of a Boolean value to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Int32)
Writes the text representation of a 4-byte signed integer to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(UInt32)
Writes the text representation of a 4-byte unsigned integer to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Int64)
Writes the text representation of an 8-byte signed integer to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(UInt64)
Writes the text representation of an 8-byte unsigned integer to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Single)
Writes the text representation of a 4-byte floating-point value to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Double)
Writes the text representation of an 8-byte floating-point value to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Decimal)
Writes the text representation of a decimal value to the text string or stream.
(Inherited from TextWriter.)
Public methodWrite(Object)
Writes the text representation of an object to the text string or stream by calling the ToString method on that object.
(Inherited from TextWriter.)
Public methodWrite(String, Object)
Writes a formatted string to the text string or stream, using the same semantics as the Format(String, Object) method.
(Inherited from TextWriter.)
Public methodWrite(String, Object) (Inherited from TextWriter.)
Public methodWrite(Char, Int32, Int32)
Writes a subarray of characters to the string.
(Inherited from StringWriter.)
Public methodWrite(String, Object, Object)
Writes a formatted string to the text string or stream, using the same semantics as the Format(String, Object, Object) method.
(Inherited from TextWriter.)
Public methodWrite(String, Object, Object, Object)
Writes a formatted string to the text string or stream, using the same semantics as the Format(String, Object, Object, Object) method.
(Inherited from TextWriter.)
Public methodWriteAsync(Char)
Writes a character to the string asynchronously.
(Inherited from StringWriter.)
Public methodWriteAsync(String)
Writes a string to the current string asynchronously.
(Inherited from StringWriter.)
Public methodWriteAsync(Char)
Writes a character array to the text string or stream asynchronously.
(Inherited from TextWriter.)
Public methodWriteAsync(Char, Int32, Int32)
Writes a subarray of characters to the string asynchronously.
(Inherited from StringWriter.)
Public methodWriteLine
Writes a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Char)
Writes a character followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Char)
Writes an array of characters followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Boolean)
Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Int32)
Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(UInt32)
Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Int64)
Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(UInt64)
Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Single)
Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Double)
Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Decimal)
Writes the text representation of a decimal value followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(String)
Writes a string followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(Object)
Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(String, Object)
Writes a formatted string and a new line to the text string or stream, using the same semantics as the Format(String, Object) method.
(Inherited from TextWriter.)
Public methodWriteLine(String, Object)
Writes out a formatted string and a new line, using the same semantics as Format(String, Object).
(Inherited from TextWriter.)
Public methodWriteLine(Char, Int32, Int32)
Writes a subarray of characters followed by a line terminator to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLine(String, Object, Object)
Writes a formatted string and a new line to the text string or stream, using the same semantics as the Format(String, Object, Object) method.
(Inherited from TextWriter.)
Public methodWriteLine(String, Object, Object, Object)
Writes out a formatted string and a new line, using the same semantics as Format(String, Object).
(Inherited from TextWriter.)
Public methodWriteLineAsync
Writes a line terminator asynchronously to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLineAsync(Char)
Writes a character followed by a line terminator asynchronously to the string.
(Inherited from StringWriter.)
Public methodWriteLineAsync(String)
Writes a string followed by a line terminator asynchronously to the current string.
(Inherited from StringWriter.)
Public methodWriteLineAsync(Char)
Writes an array of characters followed by a line terminator asynchronously to the text string or stream.
(Inherited from TextWriter.)
Public methodWriteLineAsync(Char, Int32, Int32)
Writes a subarray of characters followed by a line terminator asynchronously to the string.
(Inherited from StringWriter.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also