Click or drag to resize

IReferenceGetAncestors Method

Get the page references for all the ancestors of a given page.

Namespace:  Ingeniux.Runtime.Reference
Assembly:  IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.6.308
Syntax
IEnumerable<IReferenceEntry> GetAncestors(
	string pageId,
	string stopAncestorPageId,
	bool includeUnmarkedPages = false
)

Parameters

pageId
Type: SystemString
ID of the page whose ancestors to retrieve
stopAncestorPageId
Type: SystemString
ID of the ancestor page to stop at
includeUnmarkedPages (Optional)
Type: SystemBoolean
(Optional) Whether to include unmarked pages. This defaults to false.

Return Value

Type: IEnumerableIReferenceEntry
Collection of ancestor page entries, starting from the page itself moving up the ancestor chain. Returns an empty collection if no parent page exists.
See Also