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 | |
---|---|---|
![]() |
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. |
![]() |
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(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 | |
---|---|---|
![]() |
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. |
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.Reads the next character without changing the state of the reader or the character source. (Overrides TextReader.Peek().) |
![]() |
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().) |
![]() |
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.