Share via


ViewResultBase.View Property

Gets or sets the IView object that is rendered to the response.

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

Syntax

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

Property Value

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

See Also

Reference

ViewResultBase Class

System.Web.Mvc Namespace