Udostępnij za pośrednictwem


VirtualPathProviderViewEngine.ViewLocationFormats Property

Gets or sets the view location formats.

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

Syntax

'Declaration
Public Property ViewLocationFormats As String()
    Get
    Set
public string[] ViewLocationFormats { get; set; }
public:
property array<String^>^ ViewLocationFormats {
    array<String^>^ get ();
    void set (array<String^>^ value);
}

Property Value

Type: System.String[]
The view location formats.

Remarks

This property contains the locations where the view engine will search to find a view.

See Also

Reference

VirtualPathProviderViewEngine Class

System.Web.Mvc Namespace