IContentItemDescendantIDsWithMaxDepth Method
|
Retrieves metadata of the descendants of this page within the given depth limit.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIEnumerable<PageHierarchyAndID> DescendantIDsWithMaxDepth(
out int count,
int maxDepth,
int maxCount = -1
)
Function DescendantIDsWithMaxDepth (
<OutAttribute> ByRef count As Integer,
maxDepth As Integer,
Optional maxCount As Integer = -1
) As IEnumerable(Of PageHierarchyAndID)
IEnumerable<PageHierarchyAndID^>^ DescendantIDsWithMaxDepth(
[OutAttribute] int% count,
int maxDepth,
int maxCount = -1
)
abstract DescendantIDsWithMaxDepth :
count : int byref *
maxDepth : int *
?maxCount : int
(* Defaults:
let _maxCount = defaultArg maxCount -1
*)
-> IEnumerable<PageHierarchyAndID> Parameters
- count Int32
- Total count of all descendant pages within the given depth limit..
- maxDepth Int32
- The depth limit of descendants, relative of this page's hierarchy level.
- maxCount Int32 (Optional)
- The node limit of descendants.
Return Value
IEnumerablePageHierarchyAndIDCollection of metadata of descendant pages within the depth limit
RemarksA maxDepth of 0 means to retrieve all descendants.
ExampleA maxDepth value of 2 means to retrieve the descendants that are within 2 levels below the given page.
See Also