Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 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 (C1TextSearchManager)
    In This Topic
    Non-blocking (asynchronous) version of the FindNext method.
    Syntax
    'Declaration
     
    Public Function FindNextAsync( _
       ByVal foundPosition As C1FoundPosition, _
       ByVal throwException As Boolean _
    ) As Task(Of C1FoundPosition)

    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