Share via


SiteCacheSettings.AllowLayoutPageOverrides property

Gets a value that indicates whether PageLayout objects can override the default cache profile.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public ReadOnly Property AllowLayoutPageOverrides As Boolean
    Get
'Usage
Dim instance As SiteCacheSettings
Dim value As Boolean

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

Property value

Type: System.Boolean
true if PageLayout objects can override the cache profile.

Remarks

If both a PageLayout and PublishingWeb objects define a cache profile, the PageLayout profile is used.

See also

Reference

SiteCacheSettings class

SiteCacheSettings members

Microsoft.SharePoint.Publishing namespace

SiteCacheSettings