RazorPage.WriteLiteral(Object) 方法

定义

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

public:
 virtual void WriteLiteral(System::Object ^ value);
public virtual void WriteLiteral (object value);
abstract member WriteLiteral : obj -> unit
override this.WriteLiteral : obj -> unit
Public Overridable Sub WriteLiteral (value As Object)

参数

value
Object

要写入的 Object

适用于