RazorPage.WriteLiteralTo Method

Definition

Overloads

WriteLiteralTo(TextWriter, Object)

Writes the specified value without HTML encoding to the writer.

WriteLiteralTo(TextWriter, String)

Writes the specified value without HTML encoding to Output.

WriteLiteralTo(TextWriter, Object)

Writes the specified value without HTML encoding to the 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)

Parameters

writer
TextWriter

The TextWriter instance to write to.

value
Object

The Object to write.

Applies to

WriteLiteralTo(TextWriter, String)

Writes the specified value without HTML encoding to 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)

Parameters

writer
TextWriter

The TextWriter instance to write to.

value
String

The String to write.

Applies to