Gets the UnifiedDirectory for a page.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public virtual UnifiedDirectory GetPageDirectory(
	bool createIfNotExist
)

Parameters

createIfNotExist
Type: System..::.Boolean
if set to true directory is created if it not exist

Return Value

The directory for the page (or null if createIfNotExist is false and directory does not exist)

Remarks

If directory does not exist and createIfNotExist is false null is returned.

See Also