ComponentOne Document Library for WinForms
FindPreviousAsync Method

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace > C1TextSearchManager Class : FindPreviousAsync Method
C1FoundPosition object defines the position from which the search should be started.
Whether to throw an exception if a document access error occurred while searching.
Non-blocking (asynchronous) version of the FindPrevious method.
Syntax
'Declaration
 
Public Function FindPreviousAsync( _
   ByVal foundPosition As C1FoundPosition, _
   ByVal throwException As System.Boolean _
) As System.Threading.Tasks.Task(Of C1FoundPosition)
public System.Threading.Tasks.Task<C1FoundPosition> FindPreviousAsync( 
   C1FoundPosition foundPosition,
   System.bool throwException
)

Parameters

foundPosition
C1FoundPosition object defines the position from which the search should be started.
throwException
Whether to throw an exception if a document access error occurred while searching.

Return Value

Asynchronous object representing the found text position.
See Also

Reference

C1TextSearchManager Class
C1TextSearchManager Members