PageLayout.Folder Property

Definition

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

public:
 property Microsoft::SharePoint::SPFolder ^ Folder { Microsoft::SharePoint::SPFolder ^ get(); };
public Microsoft.SharePoint.SPFolder Folder { get; }
member this.Folder : Microsoft.SharePoint.SPFolder
Public ReadOnly Property Folder As SPFolder

Property Value

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.

Applies to