DocDataTextReader Class
Derives from TextReader and provides a standard mechanism for reading from a Visual Studio text buffer.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.IO.TextReader
Microsoft.VisualStudio.Shell.Design.Serialization.DocDataTextReader
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
‘선언
<CLSCompliantAttribute(False)> _
Public Class DocDataTextReader _
Inherits TextReader _
Implements IServiceProvider
[CLSCompliantAttribute(false)]
public class DocDataTextReader : TextReader,
IServiceProvider
The DocDataTextReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DocDataTextReader(DocData) | Initializes a new instance of DocDataTextReader for the given doc data. | |
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. |
Top
Properties
Name | Description | |
---|---|---|
DocData | Gets the doc data object. |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the TextReader and releases any system resources associated with the TextReader. (Inherited from TextReader.) | |
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.) | |
Dispose() | Releases all resources used by the TextReader object. (Inherited from TextReader.) | |
Dispose(Boolean) | Overrides the base class implementation to call Dispose on the underlying docData if disposeDocData was true in the overloaded constructor DocDataTextReader. (Overrides TextReader.Dispose(Boolean).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
Peek | Gets the current position in the text. (Overrides TextReader.Peek().) | |
Read() | Gets the text at the next position. (Overrides TextReader.Read().) | |
Read(array<Char[], Int32, Int32) | Sets the text of the specified buffer at the specified position. (Overrides TextReader.Read(array<Char[], Int32, Int32).) | |
ReadBlock | Reads a specified maximum number of characters from the current text reader and writes the data to a buffer, beginning at the specified index. (Inherited from TextReader.) | |
ReadLine | Reads a line of characters from the text reader and returns the data as a string. (Inherited from TextReader.) | |
ReadToEnd | Reads all characters from the current position to the end of the text reader and returns them as one string. (Inherited from TextReader.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProvider.GetService | Gets the service of the specified type. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.