Bagikan melalui


CompletionSet.MatchCompletionList Method

Matches the completion list.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Protected Function MatchCompletionList ( _
    completionList As IList(Of Completion), _
    matchType As CompletionMatchType, _
    caseSensitive As Boolean _
) As CompletionSet.CompletionMatchResult
protected CompletionSet.CompletionMatchResult MatchCompletionList(
    IList<Completion> completionList,
    CompletionMatchType matchType,
    bool caseSensitive
)
protected:
CompletionSet::CompletionMatchResult^ MatchCompletionList(
    IList<Completion^>^ completionList, 
    CompletionMatchType matchType, 
    bool caseSensitive
)
member MatchCompletionList : 
        completionList:IList<Completion> * 
        matchType:CompletionMatchType * 
        caseSensitive:bool -> CompletionSet.CompletionMatchResult
protected function MatchCompletionList(
    completionList : IList<Completion>, 
    matchType : CompletionMatchType, 
    caseSensitive : boolean
) : CompletionSet.CompletionMatchResult

Parameters

  • completionList
    Type: IList<Completion>

    The list of completions.

  • caseSensitive
    Type: Boolean

    true if the match is case-sensitive, otherwise false.

Return Value

Type: Microsoft.VisualStudio.Language.Intellisense.CompletionSet.CompletionMatchResult
A CompletionSelectionStatus.

Exceptions

Exception Condition
InvalidOperationException

The span to which this completion applies is null.

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Language.Intellisense Namespace