Gets the page by segments.

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

Syntax

C#
protected static PageReference GetPageBySegments(
	PageReference rootPageRef,
	string[] segments,
	string languageCode
)

Parameters

rootPageRef
Type: EPiServer.Core..::.PageReference
The root page ref.
segments
Type: array< System..::.String >[]()[]
The segments.
languageCode
Type: System..::.String
The lang code.

Return Value

The page as found by following the path of the segments

See Also