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.492
Syntax
IEnumerable<IElement> AllElements(
	Func<IElement, bool> filterCallback = null
)

Parameters

filterCallback  FuncIElement, Boolean  (Optional)
Callback method to filter the results

Return Value

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