Share via


PageLayoutCollection.MasterGalleryFolder Property

Gets or sets the name of the folder that contains the master page gallery.

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

Syntax

'Declaration
Protected Property MasterGalleryFolder As SPFolder
    Get
    Set
'Usage
Dim value As SPFolder

value = Me.MasterGalleryFolder

Me.MasterGalleryFolder = value
protected SPFolder MasterGalleryFolder { get; set; }

Property Value

Type: Microsoft.SharePoint.SPFolder
An SPFolder object.

See Also

Reference

PageLayoutCollection Class

PageLayoutCollection Members

Microsoft.SharePoint.Publishing Namespace