Document Library for WinForms | ComponentOne
C1.Win.Document.8 Assembly / C1.Win.Document Namespace / C1TextSearchManager Class / OnLongOperation Method
How much is complete (from 0 to 1).
Whether the operation can be cancelled.

In This Topic
    OnLongOperation Method (C1TextSearchManager)
    In This Topic
    Raises the LongOperation event.
    Syntax
    'Declaration
     
    Protected Function OnLongOperation( _
       ByVal complete As Double, _
       ByVal canCancel As Boolean _
    ) As Boolean
    protected bool OnLongOperation( 
       double complete,
       bool canCancel
    )

    Parameters

    complete
    How much is complete (from 0 to 1).
    canCancel
    Whether the operation can be cancelled.

    Return Value

    If this method returns true then async operation should be cancelled.
    See Also