Click or drag to resize

IContentItemDescendantIDsWithMaxDepthForPreview Method


Retrieves the collection of descendants hierarchy information, under the limitations of maximum descendants depth, and maximum descendants count.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
IEnumerable<ContentItemSimpleHierarchy> DescendantIDsWithMaxDepthForPreview(
	int maxDepth,
	int maxCount = -1
)

Parameters

maxDepth
Type: SystemInt32
Maximum descendants depth limitation, 0 to have no limitation
maxCount (Optional)
Type: SystemInt32
Maximum descendants count limitation, 0 to have no limitation

Return Value

Type: IEnumerableContentItemSimpleHierarchy
Collection of descendants hierarchy information
See Also