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
)
Function AllElements (
Optional filterCallback As Func(Of IElement, Boolean) = Nothing
) As IEnumerable(Of IElement)
IEnumerable<IElement^>^ AllElements(
Func<IElement^, bool>^ filterCallback = nullptr
)
abstract AllElements :
?filterCallback : Func<IElement, bool>
(* Defaults:
let _filterCallback = defaultArg filterCallback null
*)
-> IEnumerable<IElement>
Parameters
- filterCallback (Optional)
- Type: SystemFuncIElement, Boolean
Callback method to filter the results
Return Value
Type:
IEnumerableIElementCollection 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