IViewBufferScope.CreateWriter(TextWriter) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.PagedBufferedTextWriter ,它将委托给提供的 writer
。
public:
System::IO::TextWriter ^ CreateWriter(System::IO::TextWriter ^ writer);
public System.IO.TextWriter CreateWriter (System.IO.TextWriter writer);
abstract member CreateWriter : System.IO.TextWriter -> System.IO.TextWriter
Public Function CreateWriter (writer As TextWriter) As TextWriter
参数
- writer
- TextWriter
返回
一个 Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.PagedBufferedTextWriter。