Partager via


IVsExternalCompletionSet Interface

Definition

Enhances IntelliSense completion set functionality for use in a non-text-view editor.

public interface class IVsExternalCompletionSet
public interface class IVsExternalCompletionSet
__interface IVsExternalCompletionSet
[System.Runtime.InteropServices.Guid("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsExternalCompletionSet
[System.Runtime.InteropServices.Guid("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsExternalCompletionSet
[<System.Runtime.InteropServices.Guid("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsExternalCompletionSet = interface
[<System.Runtime.InteropServices.Guid("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsExternalCompletionSet = interface
Public Interface IVsExternalCompletionSet
Attributes

Remarks

This interface is used to force an update of the completion list before showing the list and to set the IntelliSense host that displays the completion list. By allowing the IntelliSense host to be changed, the same completion list can be used in more than one view context, that is, editor or tool window.

Notes to Implementers

This interface is implemented on the same class that implements the IVsCompletionSet interface.

Notes to Callers

Obtain this interface by calling the QueryInterface method on an IVsCompletionSet object or by casting the IVsCompletionSet object to the IVsExternalCompletionSet interface. The IVsCompletionSet object is typically passed to the text view in a call to the InvokeInsertionUI(IVsCompletionSet, String, String, IVsInsertionUI) method in the IVsTextViewEx interface.

Methods

SetIntellisenseHost(IVsIntellisenseHost)

Set the IntelliSense host that controls the display of the completion list.

UpdateCompSet()

Updates the completion set.

Applies to