ComponentOne FlexReport for WinForms
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / C1TextSearchManager Class / FindNextAsync 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
    FindNextAsync Method
    In This Topic
    Non-blocking (asynchronous) version of the FindNext method.
    Syntax
    'Declaration
     
    Public Function FindNextAsync( _
       ByVal foundPosition As C1FoundPosition, _
       ByVal throwException As System.Boolean _
    ) As System.Threading.Tasks.Task(Of C1FoundPosition)
    public System.Threading.Tasks.Task<C1FoundPosition> FindNextAsync( 
       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