Click or drag to resize

IPageAncestorsIDs Method


Retrieves the metadata of all this page's ancestor pages. The results are returned in ascending order based on the pages' hierarchy level.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
IEnumerable<PageHierarchyAndID> AncestorsIDs(
	IHierarchyId rootHierarchy = null
)

Parameters

rootHierarchy (Optional)
Type: Ingeniux.CMSIHierarchyId
Optional root for ancestors call. The call will not include any pages above the root.

Return Value

Type: IEnumerablePageHierarchyAndID
Collection of ancestor pages' metadata
Remarks
If the page is the content store root, returns empty collection.
See Also

Reference

[!:Ingeniux.CMS.IPage.DescendantsIDs]
[!:Ingeniux.CMS.IPage.DescendantsIDsWithMaxDepth]