IContentItemVersionAllElements Method
|
Retrieves the collection of descendant
Elements on which the filter callback method returns true.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIEnumerable<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 FuncIElement, Boolean (Optional)
- Callback method to filter the results
Return Value
IEnumerableIElementCollection of descendant elements on which the callback filter method execution returns true.
RemarksThis method recursively goes through elements and their child elements, including descendant elements of Lists, Groups and Embedded Components.
See Also