Share via


SeekableTextReader Class

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

Represents a reader

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.TextReader
      System.Web.Razor.Text.SeekableTextReader

Namespace:  System.Web.Razor.Text
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Class SeekableTextReader _
    Inherits TextReader _
    Implements ITextDocument, ITextBuffer
'Usage
Dim instance As SeekableTextReader
public class SeekableTextReader : TextReader, 
    ITextDocument, ITextBuffer
public ref class SeekableTextReader : public TextReader, 
    ITextDocument, ITextBuffer
type SeekableTextReader =  
    class 
        inherit TextReader 
        interface ITextDocument 
        interface ITextBuffer 
    end
public class SeekableTextReader extends TextReader implements ITextDocument, ITextBuffer

The SeekableTextReader type exposes the following members.

Constructors

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

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

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.Reads the next character without changing the state of the reader or the character source. (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 the next character from the text reader and advances the character position by one character. (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