Document Library for WPF | ComponentOne
C1.WPF.Document.4.6.2 Assembly / C1.WPF.Document 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
    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