RazorPage.WriteLiteralTo 方法

定义

重载

WriteLiteralTo(TextWriter, Object)

将指定的 value (不带 HTML 编码)写入 。writer

WriteLiteralTo(TextWriter, String)

将指定的 value 不带 HTML 编码的 写入到 Output

WriteLiteralTo(TextWriter, Object)

将指定的 value (不带 HTML 编码)写入 。writer

public:
 virtual void WriteLiteralTo(System::IO::TextWriter ^ writer, System::Object ^ value);
public virtual void WriteLiteralTo (System.IO.TextWriter writer, object value);
abstract member WriteLiteralTo : System.IO.TextWriter * obj -> unit
override this.WriteLiteralTo : System.IO.TextWriter * obj -> unit
Public Overridable Sub WriteLiteralTo (writer As TextWriter, value As Object)

参数

writer
TextWriter

TextWriter 写入的实例。

value
Object

要写入的 Object

适用于

WriteLiteralTo(TextWriter, String)

将指定的 value 不带 HTML 编码的 写入到 Output

public:
 virtual void WriteLiteralTo(System::IO::TextWriter ^ writer, System::String ^ value);
public virtual void WriteLiteralTo (System.IO.TextWriter writer, string value);
abstract member WriteLiteralTo : System.IO.TextWriter * string -> unit
override this.WriteLiteralTo : System.IO.TextWriter * string -> unit
Public Overridable Sub WriteLiteralTo (writer As TextWriter, value As String)

参数

writer
TextWriter

TextWriter 写入的实例。

value
String

要写入的 String

适用于