[]
Iterates over child elements of this Element or its children, and returns an Element that matches a criteria specified via a callback.
public Element FindChild(Func<Element, bool> callback, bool recursive = true)
Public Function FindChild(callback As Func(Of Element, Boolean), Optional recursive As Boolean = True) As Element
Type | Name | Description |
---|---|---|
Func<Element, bool> | callback | The callback method used to test the elements. |
bool | recursive | Indicates whether to iterate over child elements' children. |
Type | Description |
---|---|
Element | The first element for which the |