Share via


SeekableTextReader Class

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a reader

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

Constructors

SeekableTextReader(ITextBuffer)

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 SeekableTextReader class.

SeekableTextReader(String)

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 SeekableTextReader class.

SeekableTextReader(TextReader)

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 SeekableTextReader class.

Properties

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 text to read.

Location

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

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 to seek the text reader.

Methods

Peek()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads the next character without changing the state of the reader or the character source.

Read()

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Reads the next character from the text reader and advances the character position by one character.

Applies to