Compartilhar via


PageLayout.Folder Property

Gets the SPFolder object in which this PageLayout object is located.

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

Syntax

'Declaration
Public ReadOnly Property Folder As SPFolder
    Get
'Usage
Dim instance As PageLayout
Dim value As SPFolder

value = instance.Folder
public SPFolder Folder { get; }

Property Value

Type: Microsoft.SharePoint.SPFolder
The folder in which this PageLayout object is located.

Remarks

This method wraps the SPListItem.Folder property.

The user must have view permissions on the PageLayout object to retrieve it initially and to get any of its property values.

See Also

Reference

PageLayout Class

PageLayout Members

Microsoft.SharePoint.Publishing Namespace