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.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax 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
Culture code - 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
Combine with default culture?
Return Value
Type:
PageInfoSee Also