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)


Public ReadOnly Property MasterPageReferenceEnabled As Boolean
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


SPWeb class

SPWeb members

Microsoft.SharePoint namespace