Share via


VirtualPathProviderViewEngine.FileExtensions Property

Gets or sets the file-name extensions that are used to locate a view.

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

Syntax

'Declaration
Public Property FileExtensions As String()
'Usage
Dim instance As VirtualPathProviderViewEngine
Dim value As String()

value = instance.FileExtensions

instance.FileExtensions = value
public string[] FileExtensions { get; set; }
public:
property array<String^>^ FileExtensions {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
function get FileExtensions () : String[]
function set FileExtensions (value : String[])

Property Value

Type: System.String[]
The file-name extensions that are used to locate a view.

See Also

Reference

VirtualPathProviderViewEngine Class

System.Web.Mvc Namespace