FlexReport for WinForms | ComponentOne
C1.Win.C1Document.4.8 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.

In This Topic
    FindPreviousAsync Method (C1TextSearchManager)
    In This Topic
    Non-blocking (asynchronous) version of the FindPrevious method.
    Syntax
    'Declaration
     
    Public Function FindPreviousAsync( _
       ByVal foundPosition As C1FoundPosition, _
       ByVal throwException As Boolean _
    ) As Task(Of C1FoundPosition)
    public Task<C1FoundPosition> FindPreviousAsync( 
       C1FoundPosition foundPosition,
       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