IVsCompletionSetEx Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows a completion set to provide various kinds of customization.
public interface class IVsCompletionSetEx
public interface class IVsCompletionSetEx
__interface IVsCompletionSetEx
[System.Runtime.InteropServices.Guid("3F710016-58D5-4887-AD76-936D1A45A588")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsCompletionSetEx
[System.Runtime.InteropServices.Guid("3F710016-58D5-4887-AD76-936D1A45A588")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsCompletionSetEx
[<System.Runtime.InteropServices.Guid("3F710016-58D5-4887-AD76-936D1A45A588")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsCompletionSetEx = interface
[<System.Runtime.InteropServices.Guid("3F710016-58D5-4887-AD76-936D1A45A588")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsCompletionSetEx = interface
Public Interface IVsCompletionSetEx
- Derived
- Attributes
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.
Implement the CompareItems(String, String, Int32, Int32) method to modify how partial names are compared to the items in the list.
Implement the GetCompletionItemColor(Int32, UInt32, UInt32) method to override the foreground and background colors of any item.
Implement the GetFilterLevel(Int32), IncreaseFilterLevel(Int32), and DecreaseFilterLevel(Int32) methods to provide a secondary list of completion items.
Notes to Callers
Use the QueryInterface function (or its equivalent casting operation) to obtain the IVsCompletionSetEx interface from an existing IVsCompletionSet object.
Methods
CompareItems(String, String, Int32, Int32) |
Compares two completor items. |
DecreaseFilterLevel(Int32) |
Show in the completion list all common items available. |
GetCompletionItemColor(Int32, UInt32, UInt32) |
Returns the foreground and background colors for a selected item. |
GetFilterLevel(Int32) |
Returns the current filter level. |
IncreaseFilterLevel(Int32) |
Show in the completion list the members of the specified type. |
OnCommitComplete() |
Called when the completion has been committed. |