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

Overloaded. Initializes a new instance of DocDataTextWriter.

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

Overloaded. Disposes the object and its resources.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it 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

Overloaded.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Write

Overloaded. Appends a string or char to the underlying StringBuilder.

Public method

WriteLine

Overloaded. Writes some data as specified by the overloaded parameters, followed by a line terminator.

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