RazorPage.WriteLiteralTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WriteLiteralTo(TextWriter, Object) |
將不含 HTML 編碼的 |
WriteLiteralTo(TextWriter, String) |
將不含 HTML 編碼的指定 |
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 實例。
適用於
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 實例。