Click or drag to resize
IPageUrlRetrieverRetrieve Method (String, String, String)
Retrieves URL for a page based on given properties.

Namespace: Kentico.Content.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
PageUrl Retrieve(
	string nodeAliasPath,
	string cultureCode,
	string siteName = null
)

Parameters

nodeAliasPath
Type: SystemString
Node alias path of the page specifying the location in the content tree.
cultureCode
Type: SystemString
Culture code.
siteName (Optional)
Type: SystemString
Site name.

Return Value

Type: PageUrl
Exceptions
ExceptionCondition
ArgumentNullExceptionThrows when cultureCode is null.
InvalidOperationExceptionThrows when the page is not retrieved based on given path.
See Also