共用方式為


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

  • 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

See Also

Reference

CompletionSet Class

Filter Overload

Microsoft.VisualStudio.Language.Intellisense Namespace