Click or drag to resize

IObjectTreeNodeFindAllT Method

Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.

Namespace:  SmartBear.TestLeft.TestObjects
Assembly:  SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax
IEnumerable<T> FindAll<T>(
	ISearchPattern pattern,
	int depth = 1
)
where T : class, IObjectTreeNode

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: IEnumerableT
The sequence of the found objects.
See Also