Click or drag to resize
IPageUrlRetrieverRetrieve Method (TreeNode, Boolean)
Retrieves URL for given page.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
PageUrl Retrieve(
	TreeNode page,
	bool keepCurrentCulture = true
)

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page to return the URL for.
keepCurrentCulture (Optional)
Type: SystemBoolean
Indicates if the context of current culture should be preserved.

Return Value

Type: PageUrl
Exceptions
ExceptionCondition
ArgumentNullExceptionThrows when page is null.
See Also