Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ViewName Property

ViewResultBase.ViewName Property


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.

Return to top
© 2015 Microsoft