IReferenceGetAncestors Method
|
Get ancestors of give page
Namespace:
Ingeniux.Runtime.Reference
Assembly:
IGXRuntimeAPI (in IGXRuntimeAPI.dll) Version: 10.3.169
Syntax IEnumerable<IReferenceEntry> GetAncestors(
string pageId,
string stopAncestorPageId,
bool includeUnmarkedPages = false
)
Function GetAncestors (
pageId As String,
stopAncestorPageId As String,
Optional includeUnmarkedPages As Boolean = false
) As IEnumerable(Of IReferenceEntry)
IEnumerable<IReferenceEntry^>^ GetAncestors(
String^ pageId,
String^ stopAncestorPageId,
bool includeUnmarkedPages = false
)
abstract GetAncestors :
pageId : string *
stopAncestorPageId : string *
?includeUnmarkedPages : bool
(* Defaults:
let _includeUnmarkedPages = defaultArg includeUnmarkedPages false
*)
-> IEnumerable<IReferenceEntry>
Parameters
- pageId
- Type: SystemString
id of page - stopAncestorPageId
- Type: SystemString
Which ancestor page to stop at - includeUnmarkedPages (Optional)
- Type: SystemBoolean
Return Value
Type:
IEnumerableIReferenceEntryCollection of ancestor page entries, starting from the page
itself and goes up the ancestors chain; Empty colleciton of parent
doesn't exist
See Also