Click or drag to resize
IPageUrlRetrieverRetrieve Method (TreeNode, String)
Retrieves URL for the given page in the given culture.

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,
	string cultureCode
)

Parameters

page
Type: CMS.DocumentEngineTreeNode
Page to return the URL for.
cultureCode
Type: SystemString
Culture code.

Return Value

Type: PageUrl
Exceptions
ExceptionCondition
ArgumentNullExceptionThrows when page or cultureCode is null.
Remarks
Use Retrieve(TreeNode, Boolean) if you want to retrieve the URL of a page in its culture.
See Also