共用方式為


IVsExternalCompletionSet Interface

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

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")> _
Public Interface IVsExternalCompletionSet
[InterfaceTypeAttribute()]
[GuidAttribute("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")]
public interface IVsExternalCompletionSet
[InterfaceTypeAttribute()]
[GuidAttribute(L"373A9399-FDF5-4F64-8866-E14B7F2CFFF7")]
public interface class IVsExternalCompletionSet
[<InterfaceTypeAttribute()>]
[<GuidAttribute("373A9399-FDF5-4F64-8866-E14B7F2CFFF7")>]
type IVsExternalCompletionSet =  interface end
public interface IVsExternalCompletionSet

The IVsExternalCompletionSet type exposes the following members.

Methods

  Name Description
Public method SetIntellisenseHost Set the IntelliSense host that controls the display of the completion list.
Public method UpdateCompSet Updates the completion set.

Top

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 method in the IVsTextViewEx interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace