Partager via


ICompletionSession.Filter Method

Filters the session's completion items, based on the current state of the text buffer.

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

Syntax

'Declaration
Sub Filter
void Filter()
void Filter()
abstract Filter : unit -> unit
function Filter()

Remarks

If DisplayText or InsertionText contains the text in the span in ApplicableTo, it remains part of the CompletionSets collection, otherwise it will be removed. The underlying providers will not be asked for additional completion information because of this call.

.NET Framework Security

See Also

Reference

ICompletionSession Interface

Microsoft.VisualStudio.Language.Intellisense Namespace