共用方式為


ViewPage.Writer Property

Gets the text writer that is used to render the view to the response.

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

Syntax

'Declaration
Public Property Writer As HtmlTextWriter
    Get
    Private Set
public HtmlTextWriter Writer { get; private set; }
public:
property HtmlTextWriter^ Writer {
    HtmlTextWriter^ get ();
    private: void set (HtmlTextWriter^ value);
}

Property Value

Type: System.Web.UI.HtmlTextWriter
The text writer that is used to render the view to the response.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace