共用方式為


RazorPage.WriteLiteralTo 方法

定義

多載

WriteLiteralTo(TextWriter, Object)

將不含 HTML 編碼的 writer 指定 value 寫入 。

WriteLiteralTo(TextWriter, String)

將不含 HTML 編碼的指定 value 寫入至 Output

WriteLiteralTo(TextWriter, Object)

將不含 HTML 編碼的 writer 指定 value 寫入 。

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)

將不含 HTML 編碼的指定 value 寫入至 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

適用於