Get a control by using custom predicate. This function will try to eliminate any elements
that are not convertable to TControl type.

Declaration Syntax
| C# | Visual Basic | Visual Basic Usage |
public TControl ByCustom<TControl>(
Predicate<TControl> predicate
)
where TControl : new(), Control
Public Function ByCustom(Of TControl As {New, Control}) ( _
predicate As Predicate(Of TControl) _
) As TControlDim instance As Find
Dim predicate As Predicate(Of TControl)
Dim returnValue As TControl
returnValue = instance.ByCustom(predicate)

Generic Template Parameters
- TControl
- The control type.

Parameters
- predicate (Predicate<(Of <(TControl>)>))
- The predicate.

Return Value
The first found control.
Assembly:
ArtOfTest.WebAii (Module: ArtOfTest.WebAii) Version: 1.1.900.0 (1.1.900.0)