Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RazorView.ViewStartFileExtensions Property

 

Gets or sets the set of file extensions that will be used when looking up view start files.

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

member ViewStartFileExtensions : IEnumerable<string> with get, private set

Property Value

Type: System.Collections.Generic.IEnumerable<String>

The set of file extensions that will be used when looking up view start files.

View start files are layout files and master-page files. For example, view start files can include _ViewStart.cshtml in a C# ASP.NET MVC project and _ViewStart.vbhtml in a Visual Basic ASP.NET MVC project.

Return to top
Show:
© 2015 Microsoft