Share via


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)

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