| IDriverFindT Method (ISearchPattern, Int32, Int32) | 
 
            Searches for an object that matches the specified pattern.
            The search depth and timeout are specified as parameters.
            
 
    Namespace: 
   SmartBear.TestLeft
    Assembly:
   SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
 Syntax
SyntaxT Find<T>(
	ISearchPattern pattern,
	int depth,
	int timeout
)
where T : class, IObjectTreeNode
Function Find(Of T As {Class, IObjectTreeNode}) ( 
	pattern As ISearchPattern,
	depth As Integer,
	timeout As Integer
) As T
Dim instance As IDriver
Dim pattern As ISearchPattern
Dim depth As Integer
Dim timeout As Integer
Dim returnValue As T
returnValue = instance.Find(pattern, depth, 
	timeout)generic<typename T>
where T : ref class, IObjectTreeNode
T Find(
	ISearchPattern^ pattern, 
	int depth, 
	int timeout
)
Parameters
- pattern
- Type: SmartBear.TestLeftISearchPattern
 The search pattern.
- depth
- Type: SystemInt32
 The search depth.
- timeout
- Type: SystemInt32
 The timeout, in milliseconds, used to wait for the object.
Type Parameters
- T
- The interface that will be implemented in the returned object.
Return Value
Type: 
TThe found object.
 Exceptions
Exceptions See Also
See Also