VirtualPathProviderViewEngine.MasterLocationFormats Property

Gets or sets the master location formats.

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

Syntax

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

Property Value

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

Remarks

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

See Also

Reference

VirtualPathProviderViewEngine Class

System.Web.Mvc Namespace