Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
'Declaration
Public Property ViewStartFileExtensions As IEnumerable(Of String)
	Get 
	Private Set
'Usage
Dim instance As RazorView 
Dim value As IEnumerable(Of String)

value = instance.ViewStartFileExtensions

Property Value

Type: System.Collections.Generic.IEnumerable(Of 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.