Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / FindAndSelectAsync Method
Text to find.
Index of the found text to be selected.

In This Topic
    FindAndSelectAsync Method
    In This Topic
    Finds and selects the occurrence of a text string in the document asynchronously.
    Syntax
    'Declaration
     
    Public Function FindAndSelectAsync( _
       ByVal text As System.String, _
       Optional ByVal index As System.Integer _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task FindAndSelectAsync( 
       System.string text,
       System.int index
    )

    Parameters

    text
    Text to find.
    index
    Index of the found text to be selected.
    See Also