Click or drag to resize

IPageAncestors Method


Retrieves all of 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.6.492
Syntax
IEnumerable<IPage> Ancestors(
	IHierarchyId rootHierarchy = null
)

Parameters

rootHierarchy  IHierarchyId  (Optional)
Optional root for ancestors call. The call will not include any pages above the root.

Return Value

IEnumerableIPage
Collection of ancestor pages
Remarks
If the page is the content store root, returns empty collection.
See Also