Partager via


IIncrementalSearch.AppendCharAndSearch Method

Extends the current term being searched for by one character. If a new term is matched, it is selected. The selection can be used to access the match.

Namespace:  Microsoft.VisualStudio.Text.IncrementalSearch
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Déclaration
Function AppendCharAndSearch ( _
    toAppend As Char _
) As IncrementalSearchResult
IncrementalSearchResult AppendCharAndSearch(
    char toAppend
)
IncrementalSearchResult AppendCharAndSearch(
    wchar_t toAppend
)
abstract AppendCharAndSearch : 
        toAppend:char -> IncrementalSearchResult 
function AppendCharAndSearch(
    toAppend : char
) : IncrementalSearchResult

Parameters

  • toAppend
    Type: System.Char
    The character to append to the current search term.

Return Value

Type: Microsoft.VisualStudio.Text.IncrementalSearch.IncrementalSearchResult
An IncrementalSearchResult that contains information about whether the search term was found and whether the search wrapped around the beginning or end of the buffer.

.NET Framework Security

See Also

Reference

IIncrementalSearch Interface

Microsoft.VisualStudio.Text.IncrementalSearch Namespace