CompletionSet.MatchCompletionList Method
Matches the completion list.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
声明
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: System.Collections.Generic.IList<Completion>
The list of completions.
- matchType
Type: Microsoft.VisualStudio.Language.Intellisense.CompletionMatchType
The CompletionMatchType.
- caseSensitive
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.