Click or drag to resize

IContentItemVersionAllElements Method


Retrieves the collection of descendant Elements on which the filter callback method returns true.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
IEnumerable<IElement> AllElements(
	Func<IElement, bool> filterCallback = null
)

Parameters

filterCallback (Optional)
Type: SystemFuncIElement, Boolean
Callback method to filter the results

Return Value

Type: IEnumerableIElement
Collection of descendant elements on which the callback filter method execution returns true.
Remarks

This method recursively goes through elements and their child elements, including descendant elements of Lists, Groups and Embedded Components.

See Also