RazorPage.WriteLiteralTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WriteLiteralTo(TextWriter, Object) |
将指定的 |
WriteLiteralTo(TextWriter, String) |
将指定的 |
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 写入的实例。
适用于
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 写入的实例。