RanorexRanorex Documentation
Filter<(Of <(T>)>) Method (elements)
NamespacesRanorexAdapterFilter<(Of <(T>)>)(IList<(Of <(Element>)>))
Filters the given element list by the specified adapter type. The returned adapter list correspond to the elements that could be converted to the specified adapter type.
Declaration Syntax
C#Visual BasicVisual C++
public IList<T> Filter<T>(
	IList<Element> elements
)
where T : Adapter
Public Function Filter(Of T As Adapter) ( _
	elements As IList(Of Element) _
) As IList(Of T)
public:
generic<typename T>
where T : Adapter
IList<T>^ Filter(
	IList<Element^>^ elements
)
Generic Template Parameters
T
The type of adapter to filter by. The supplied type must inherit from Adapter, but most not be the Adapter type itself.
Parameters
elements (IList<(Of <(Element>)>))
A list of elements.
Return Value
A list of adapter instances corresponding to the elements that could be converted to the specified adapter.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 4.0.3.22982 (4.0.3.22982)