Virtual Happy Hour canceled for Friday May 31st.

Try our conversational search powered by Generative AI!

Interface IPageDirectory

Directories returned from the VirtualPathProvider that is configured as pageFolderVirtualPathProvider (is set in web.config) should implement this interface.

Namespace: EPiServer.Web.Hosting
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public interface IPageDirectory

Methods

CreateSubdirectory(String, PageData)

Creates the subdirectory. The access control should be matched against passed page.

Declaration
UnifiedDirectory CreateSubdirectory(string path, PageData accessValidatingPage)
Parameters
Type Name Description
System.String path

The path to the directory to create

PageData accessValidatingPage

The page to match access against

Returns
Type Description
UnifiedDirectory

A handle to the created directory

Extension Methods