Partager via


DocDataTextWriter Members

Include Protected Members
Include Inherited Members

Provides a standard System.IO mechanism for writing to a Visual Studio text buffer.

The DocDataTextWriter type exposes the following members.

Constructors

  Name Description
Public method DocDataTextWriter(DocData) Initializes a new instance of DocDataTextWriter for the given doc data.
Public method DocDataTextWriter(DocData, Boolean) Initializes a new instance of DocDataTextWriter for the specified doc data, and determines whether or not to dispose the doc data object when this instance is closed or disposed.

Top

Methods

  Name Description
Public method Close Closes the current writer and releases any system resources associated with the writer. (Inherited from TextWriter.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Releases all resources used by the TextWriter object. (Inherited from TextWriter.)
Protected method Dispose(Boolean) Disposes the object and its resources. (Overrides TextWriter.Dispose(Boolean).)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Replaces the contents of the text stream with the contents of the string builder. (Overrides TextWriter.Flush().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method Write Writes a character array to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of a Boolean value to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of a 4-byte signed integer to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of a 4-byte unsigned integer to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of an 8-byte signed integer to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of an 8-byte unsigned integer to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of a 4-byte floating-point value to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of an 8-byte floating-point value to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of a decimal value to the text stream. (Inherited from TextWriter.)
Public method Write Writes the text representation of an object to the text stream by calling ToString on that object. (Inherited from TextWriter.)
Public method Write(Char) Appends a char to the underlying StringBuilder. (Overrides TextWriter.Write(Char).)
Public method Write(String) Appends a string to the underlying StringBuilder. (Overrides TextWriter.Write(String).)
Public method Write Writes out a formatted string, using the same semantics as String.Format. (Inherited from TextWriter.)
Public method Write Writes out a formatted string, using the same semantics as String.Format. (Inherited from TextWriter.)
Public method Write Writes a subarray of characters to the text stream. (Inherited from TextWriter.)
Public method Write Writes out a formatted string, using the same semantics as String.Format. (Inherited from TextWriter.)
Public method Write Writes out a formatted string, using the same semantics as String.Format. (Inherited from TextWriter.)
Public method WriteLine Writes a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes a character followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes an array of characters followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a Boolean followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a 4-byte signed integer followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of an 8-byte signed integer followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of a decimal value followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes a string followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes the text representation of an object by calling ToString on this object, followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)
Public method WriteLine Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)
Public method WriteLine Writes a subarray of characters followed by a line terminator to the text stream. (Inherited from TextWriter.)
Public method WriteLine Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)
Public method WriteLine Writes out a formatted string and a new line, using the same semantics as Format. (Inherited from TextWriter.)

Top

Fields

  Name Description
Protected field CoreNewLine Stores the new line characters used for this TextWriter. (Inherited from TextWriter.)

Top

Properties

  Name Description
Protected property DocData Gets the doc data object.
Public property Encoding Gets the encoding of this text writer. (Overrides TextWriter.Encoding.)
Public property FormatProvider Gets an object that controls formatting. (Inherited from TextWriter.)
Public property NewLine Gets or sets the line terminator string used by the current TextWriter. (Inherited from TextWriter.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IServiceProvider.GetService Gets the service of the specified type.

Top

See Also

Reference

DocDataTextWriter Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace