Share via


TextDocumentReader Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides reader for text document.

public class TextDocumentReader : System.IO.TextReader, System.Web.Razor.Text.ITextDocument
type TextDocumentReader = class
    inherit TextReader
    interface ITextDocument
    interface ITextBuffer
Public Class TextDocumentReader
Inherits TextReader
Implements ITextDocument
Inheritance
TextDocumentReader
Implements

Constructors

Name Description
TextDocumentReader(ITextDocument)

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.

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.

Methods

Name Description
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.

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.

Applies to