WebPageExecutingBase.WriteTo Method (TextWriter, Object)

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

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

public static function WriteTo(
	writer : TextWriter, 
	content : Object
)

Parameters

writer
Type: System.IO.TextWriter
The text writer.
content
Type: System.Object
The object to encode and write.
Show: