ViewPage.MasterLocation Property

Gets or sets the path of the master view.

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

Syntax

'Declaration
Public Property MasterLocation As String
    Get
    Set
public string MasterLocation { get; set; }
public:
property String^ MasterLocation {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The path of the master view.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace