CompletionSet.Filter Method (CompletionMatchType, Boolean)
Restricts the set of completions to those that match the applicability text of the completion set, and then determines the best match.
Namespace: Microsoft.VisualStudio.Language.Intellisense
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Syntax
声明
Protected Sub Filter ( _
matchType As CompletionMatchType, _
caseSensitive As Boolean _
)
protected void Filter(
CompletionMatchType matchType,
bool caseSensitive
)
protected:
void Filter(
CompletionMatchType matchType,
bool caseSensitive
)
member Filter :
matchType:CompletionMatchType *
caseSensitive:bool -> unit
protected function Filter(
matchType : CompletionMatchType,
caseSensitive : boolean
)
Parameters
- matchType
Type: Microsoft.VisualStudio.Language.Intellisense.CompletionMatchType
The CompletionMatchType.
- caseSensitive
Type: System.Boolean
true if the match is case-sensitive, otherwise false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Both the completions and the completion builders have been overridden. |
.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.