ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure
ByCustom<(Of <(TControl>)>) Method (predicate)
NamespacesArtOfTest.WebAii.CoreFindByCustom<(Of <(TControl>)>)(Predicate<(Of <(TControl>)>))
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 BasicVisual 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 TControl
Dim 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)