WebPageExecutingBase.WriteTo Method

Definition

Overloads

WriteTo(TextWriter, Object)

Writes the specified object as an HTML-encoded string to the specified text writer.

WriteTo(TextWriter, HelperResult)

Writes the specified HelperResult object as an HTML-encoded string to the specified text writer.

WriteTo(TextWriter, Object)

Writes the specified object as an HTML-encoded string to the specified text writer.

public static void WriteTo (System.IO.TextWriter writer, object content);
static member WriteTo : System.IO.TextWriter * obj -> unit
Public Shared Sub WriteTo (writer As TextWriter, content As Object)

Parameters

writer
TextWriter

The text writer.

content
Object

The object to encode and write.

Applies to

WriteTo(TextWriter, HelperResult)

Writes the specified HelperResult object as an HTML-encoded string to the specified text writer.

public static void WriteTo (System.IO.TextWriter writer, System.Web.WebPages.HelperResult content);
static member WriteTo : System.IO.TextWriter * System.Web.WebPages.HelperResult -> unit
Public Shared Sub WriteTo (writer As TextWriter, content As HelperResult)

Parameters

writer
TextWriter

The text writer.

content
HelperResult

The helper result to encode and write.

Applies to