Partager via


DocDataTextWriter Class

Definition

Important

This API is not CLS-compliant.

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

public ref class DocDataTextWriter : System::IO::TextWriter, IServiceProvider
[System.CLSCompliant(false)]
public class DocDataTextWriter : System.IO.TextWriter, IServiceProvider
public class DocDataTextWriter : System.IO.TextWriter, IServiceProvider
[<System.CLSCompliant(false)>]
type DocDataTextWriter = class
    inherit TextWriter
    interface IServiceProvider
type DocDataTextWriter = class
    inherit TextWriter
    interface IServiceProvider
Public Class DocDataTextWriter
Inherits TextWriter
Implements IServiceProvider
Inheritance
DocDataTextWriter
Attributes
Implements

Constructors

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.

DocDataTextWriter(DocData)

Initializes a new instance of DocDataTextWriter for the given doc data.

Properties

DocData

Gets the doc data object.

Encoding

Gets the encoding of this text writer.

Methods

Dispose(Boolean)

Disposes the object and its resources.

Flush()

Replaces the contents of the text stream with the contents of the string builder.

Write(Char)

Appends a char to the underlying StringBuilder.

Write(String)

Appends a string to the underlying StringBuilder.

Explicit Interface Implementations

IServiceProvider.GetService(Type)

Gets the service of the specified type.

Applies to