TextDocumentReader Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Provides reader for text document.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.IO.TextReader
System.Web.Razor.Text.TextDocumentReader
Namespace: System.Web.Razor.Text
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Public Class TextDocumentReader _
Inherits TextReader _
Implements ITextDocument, ITextBuffer
'Usage
Dim instance As TextDocumentReader
public class TextDocumentReader : TextReader,
ITextDocument, ITextBuffer
public ref class TextDocumentReader : public TextReader,
ITextDocument, ITextBuffer
type TextDocumentReader =
class
inherit TextReader
interface ITextDocument
interface ITextBuffer
end
public class TextDocumentReader extends TextReader implements ITextDocument, ITextBuffer
The TextDocumentReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
TextDocumentReader | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TextDocumentReader class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Length | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the length of the document. |
![]() |
Location | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the location of the document. |
![]() |
Position | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position of the text document. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Close | (Inherited from TextReader.) |
![]() |
CreateObjRef | Security Critical. (Inherited from MarshalByRefObject.) |
![]() |
Dispose() | (Inherited from TextReader.) |
![]() |
Dispose(Boolean) | (Inherited from TextReader.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
InitializeLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
![]() |
Peek | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the next text document to read. (Overrides TextReader.Peek().) |
![]() |
Read() | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads a specified text document. (Overrides TextReader.Read().) |
![]() |
Read(Char[], Int32, Int32) | (Inherited from TextReader.) |
![]() |
ReadAsync | (Inherited from TextReader.) |
![]() |
ReadBlock | (Inherited from TextReader.) |
![]() |
ReadBlockAsync | (Inherited from TextReader.) |
![]() |
ReadLine | (Inherited from TextReader.) |
![]() |
ReadLineAsync | (Inherited from TextReader.) |
![]() |
ReadToEnd | (Inherited from TextReader.) |
![]() |
ReadToEndAsync | (Inherited from TextReader.) |
![]() |
ToString | (Inherited from Object.) |
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.