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.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIEnumerable<PageHierarchyAndID> AncestorsIDs(
IHierarchyId rootHierarchy = null
)
Function AncestorsIDs (
Optional rootHierarchy As IHierarchyId = Nothing
) As IEnumerable(Of PageHierarchyAndID)
IEnumerable<PageHierarchyAndID^>^ AncestorsIDs(
IHierarchyId^ rootHierarchy = nullptr
)
abstract AncestorsIDs :
?rootHierarchy : IHierarchyId
(* Defaults:
let _rootHierarchy = defaultArg rootHierarchy null
*)
-> IEnumerable<PageHierarchyAndID> Parameters
- rootHierarchy IHierarchyId (Optional)
- Optional root for ancestors call. The call will not include any pages above the root.
Return Value
IEnumerablePageHierarchyAndIDCollection of ancestor pages' metadata
RemarksIf the page is the content store root, returns empty collection.
See Also