Freigeben über


ViewContext.View Property

Gets an object that implements the IView interface to render in the browser.

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

Syntax

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

Property Value

Type: System.Web.Mvc.IView
The view.

See Also

Reference

ViewContext Class

System.Web.Mvc Namespace