Share via


IVsCompletionSetEx Interface

Allows a completion set to provide various kinds of customization.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
<GuidAttribute("3F710016-58D5-4887-AD76-936D1A45A588")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCompletionSetEx
[GuidAttribute("3F710016-58D5-4887-AD76-936D1A45A588")]
[InterfaceTypeAttribute()]
public interface IVsCompletionSetEx
[GuidAttribute(L"3F710016-58D5-4887-AD76-936D1A45A588")]
[InterfaceTypeAttribute()]
public interface class IVsCompletionSetEx
[<GuidAttribute("3F710016-58D5-4887-AD76-936D1A45A588")>]
[<InterfaceTypeAttribute()>]
type IVsCompletionSetEx =  interface end
public interface IVsCompletionSetEx

The IVsCompletionSetEx type exposes the following members.

Methods

  Name Description
Public method CompareItems Compares two completor items.
Public method DecreaseFilterLevel Show in the completion list all common items available.
Public method GetCompletionItemColor Returns the foreground and background colors for a selected item.
Public method GetFilterLevel Returns the current filter level.
Public method IncreaseFilterLevel Show in the completion list the members of the specified type.
Public method OnCommitComplete Called when the completion has been committed.

Top

Remarks

This interface provides customization of a completion set list in the following ways:

  • Modify how partial names are matched to items in the list.

  • Override the foreground and background colors of any item.

  • Show completion items for a particular type in a secondary list.

Filter Levels

If you support filter levels, the completion list shows two lists: Common and All. These two lists can be viewed by clicking the appropriate tab at the bottom of the completion list window. The All list shows all declarations in a particular type while the Common list shows all possible declarations available at that point.

Notes to Implementers

Which methods need to be implemented is determined by the feature to support.

Notes to Callers

Use the QueryInterface function (or its equivalent casting operation) to obtain the IVsCompletionSetEx interface from an existing IVsCompletionSet object.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace