Click or drag to resize
PageInfoProviderGetPageInfo Method (String, String, String, String, Boolean)
Returns the page info for the given Alias path or URL path. Use the overload to provide node ID for better performance if possible.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static PageInfo GetPageInfo(
	string siteName,
	string aliasPath,
	string cultureCode,
	string urlPath,
	bool combineWithDefaultCulture
)

Parameters

siteName
Type: SystemString
Site name
aliasPath
Type: SystemString
Alias path
cultureCode
Type: SystemString
Preferred culture code to be used to get the best matching candidate. When the URL path is provided and there is a match by the URL path, the culture code of the matched candidate has higher priority than the given culture code and is used for the result.
urlPath
Type: SystemString
URL path
combineWithDefaultCulture
Type: SystemBoolean
Combine with default culture?

Return Value

Type: PageInfo
See Also