Click or drag to resize
PageInfoProviderGetPageInfo Method (String, String, String, String, Int32, Boolean)
Returns the page info for the given Alias path or URL path. If NodeID is provided, pageinfo retrieval is faster.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public static PageInfo GetPageInfo(
	string siteName,
	string aliasPath,
	string cultureCode,
	string urlPath,
	int nodeId,
	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
nodeId
Type: SystemInt32
Node ID of the page (when provided, retrieval from the database is faster, use to get parent document)
combineWithDefaultCulture
Type: SystemBoolean
Indicates if the result should be combined with default site culture

Return Value

Type: PageInfo
See Also