ViewContext.Writer Property

Gets or sets the text writer object that is used to write HTML output.

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

Syntax

'Declaration
Public Overridable Property Writer As TextWriter
    Get
    Set
public virtual TextWriter Writer { get; set; }
public:
virtual property TextWriter^ Writer {
    TextWriter^ get ();
    void set (TextWriter^ value);
}

Property Value

Type: System.IO.TextWriter
The object that is used to write the HTML output.

See Also

Reference

ViewContext Class

System.Web.Mvc Namespace