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