Share via


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
Public method 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
Public property 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.
Public property 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.
Public property 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
Public method Close (Inherited from TextReader.)
Public method CreateObjRef Security Critical. (Inherited from MarshalByRefObject.)
Public method Dispose() (Inherited from TextReader.)
Protected method Dispose(Boolean) (Inherited from TextReader.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method 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().)
Public method 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().)
Public method Read(Char[], Int32, Int32) (Inherited from TextReader.)
Public method ReadAsync (Inherited from TextReader.)
Public method ReadBlock (Inherited from TextReader.)
Public method ReadBlockAsync (Inherited from TextReader.)
Public method ReadLine (Inherited from TextReader.)
Public method ReadLineAsync (Inherited from TextReader.)
Public method ReadToEnd (Inherited from TextReader.)
Public method ReadToEndAsync (Inherited from TextReader.)
Public method 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.

See Also

Reference

System.Web.Razor.Text Namespace