Udostępnij za pośrednictwem


DocDataTextReader Class

Definition

Important

This API is not CLS-compliant.

Derives from TextReader and provides a standard mechanism for reading from a Visual Studio text buffer.

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

Constructors

DocDataTextReader(DocData, Boolean)

Initializes a new instance of DocDataTextReader for the specified doc data object and determines whether Dispose() will be called on the docData when the DocDataTextReader is disposed.

DocDataTextReader(DocData)

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

Properties

DocData

Gets the doc data object.

Methods

Dispose(Boolean)

Overrides the base class implementation to call Dispose() on the underlying docData if disposeDocData was true in the overloaded constructor DocDataTextReader(DocData, Boolean).

Peek()

Gets the current position in the text.

Read()

Gets the text at the next position.

Read(Char[], Int32, Int32)

Sets the text of the specified buffer at the specified position.

Explicit Interface Implementations

IServiceProvider.GetService(Type)

Gets the service of the specified type.

Applies to