LocalDriverFindAllT Method |
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
Namespace:
SmartBear.TestLeft
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax public IEnumerable<T> FindAll<T>(
ISearchPattern pattern,
int depth = 1
)
where T : class, IObjectTreeNode
Public Function FindAll(Of T As {Class, IObjectTreeNode}) (
pattern As ISearchPattern,
Optional depth As Integer = 1
) As IEnumerable(Of T)
Dim instance As LocalDriver
Dim pattern As ISearchPattern
Dim depth As Integer
Dim returnValue As IEnumerable(Of T)
returnValue = instance.FindAll(pattern,
depth)
public:
generic<typename T>
where T : ref class, IObjectTreeNode
virtual IEnumerable<T>^ FindAll(
ISearchPattern^ pattern,
int depth = 1
) sealed
Parameters
- pattern
- Type: SmartBear.TestLeftISearchPattern
The search pattern. - depth (Optional)
- Type: SystemInt32
The search depth.
Type Parameters
- T
- The interface of the elements in the returned sequence.
Return Value
Type:
IEnumerableTThe sequence of the found objects.
Implements
IDriverFindAllT(ISearchPattern, Int32)See Also