Share via


RazorView.LayoutPath Property

Gets the layout or master page.

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

Syntax

'Declaration
Public Property LayoutPath As String
'Usage
Dim instance As RazorView
Dim value As String

value = instance.LayoutPath
public string LayoutPath { get; private set; }
public:
property String^ LayoutPath {
    String^ get ();
    private: void set (String^ value);
}
function get LayoutPath () : String
private function set LayoutPath (value : String)

Property Value

Type: System.String
The layout or master page.

See Also

Reference

RazorView Class

System.Web.Mvc Namespace