IViewBufferScope.CreateWriter(TextWriter) 方法

定义

创建一个 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

参数

返回

一个 Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.PagedBufferedTextWriter

适用于