'Declaration Public Function FindContentItem( _ ByVal callback As System.Func(Of ContentItemBase,Boolean), _ Optional ByVal recursive As System.Boolean _ ) As ContentItemBase
public ContentItemBase FindContentItem( System.Func<ContentItemBase,bool> callback, System.bool recursive )
Parameters
- callback
- The callback method used to test the content items.
- recursive
- Indicates whether to iterate over content items of child elements.
Return Value
The first content item for which the callback returned true, or null if no such item exists.