TextDocumentReader 类

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。为文本文档提供阅读器。

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
继承
TextDocumentReader
实现

构造函数

TextDocumentReader(ITextDocument)

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。初始化 类的新实例TextDocumentReader

属性

Length

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。获取文档的长度。

Location

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。获取文档的位置。

Position

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。获取或设置文本文档的位置。

方法

Peek()

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。返回要阅读的下一个文本文档。

Read()

此类型/成员支持.NET Framework基础结构,不应直接从代码中使用。读取指定的文本文档。

适用于