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 void WriteTo(
	TextWriter^ writer, 
	Object^ content
)

Parameters

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