ViewResultBase.ViewName Property

Visual Studio 2010

Gets or sets the name of the view to render.

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

public string ViewName { get; set; }

Property Value

Type: System.String
The name of the view.

Community Additions

ADD
Show: