WebPageExecutingBase.WriteTo Method (TextWriter, HelperResult)
Writes the specified HelperResult object as an HTML-encoded string to the specified text writer.
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public Shared Sub WriteTo ( _
writer As TextWriter, _
content As HelperResult _
)
'Usage
Dim writer As TextWriter
Dim content As HelperResult
WebPageExecutingBase.WriteTo(writer, content)
public static void WriteTo(
TextWriter writer,
HelperResult content
)
public:
static void WriteTo(
TextWriter^ writer,
HelperResult^ content
)
static member WriteTo :
writer:TextWriter *
content:HelperResult -> unit
public static function WriteTo(
writer : TextWriter,
content : HelperResult
)
Parameters
- writer
Type: System.IO.TextWriter
The text writer.
- content
Type: System.Web.WebPages.HelperResult
The helper result to encode and write.