SPWeb.MasterPageReferenceEnabled Property

Retrieves a Boolean value that indicates whether the website is enabled for master page referencing.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property MasterPageReferenceEnabled As Boolean
    Get
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.MasterPageReferenceEnabled
public bool MasterPageReferenceEnabled { get; }

Property Value

Type: System.Boolean
A Boolean that specifies the master page reference enabled property.

See Also

Reference

SPWeb Class

SPWeb Members

Microsoft.SharePoint Namespace