Compartilhar via


IVsIntellisenseHost Interface

Implemented by clients (including IVsTextView) to provide IntelliSense hosting functionality.

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

Syntax

'Declaração
<InterfaceTypeAttribute()> _
<GuidAttribute("0377986B-C450-453C-A7BE-67116C9129A6")> _
Public Interface IVsIntellisenseHost _
    Inherits IOleCommandTarget
[InterfaceTypeAttribute()]
[GuidAttribute("0377986B-C450-453C-A7BE-67116C9129A6")]
public interface IVsIntellisenseHost : IOleCommandTarget
[InterfaceTypeAttribute()]
[GuidAttribute(L"0377986B-C450-453C-A7BE-67116C9129A6")]
public interface class IVsIntellisenseHost : IOleCommandTarget
[<InterfaceTypeAttribute()>]
[<GuidAttribute("0377986B-C450-453C-A7BE-67116C9129A6")>]
type IVsIntellisenseHost =  
    interface
        interface IOleCommandTarget
    end
public interface IVsIntellisenseHost extends IOleCommandTarget

The IVsIntellisenseHost type exposes the following members.

Methods

  Name Description
Public method AfterCompletorCommit Handles any cleanup actions after a call to the completor.
Public method BeforeCompletorCommit Handles actions before committing the completor call.
Public method Exec(Guid%, UInt32, UInt32, IntPtr, IntPtr) (Inherited from IOleCommandTarget.)
Public method Exec(Guid%, UInt32, UInt32, Object%, Object%) Executes the specified command.
Public method GetContextBuffer Gets the context buffer for IntelliSense.
Public method GetContextCaretPos Gets the caret position relative to the context buffer.
Public method GetContextFocalPoint Returns the position in the context buffer that is considered the starting context point.
Public method GetContextLocation Gets the bounding rectangle for the IntelliSense context.
Public method GetContextSelection Gets the selection relative to the context buffer.
Public method GetHostFlags Gets the IntelliSense host flags from the IntellisenseHostFlags enumeration.
Public method GetHostWindow Returns a handle to the host window.
Public method GetServiceProvider Gets an IntelliSense service object.
Public method GetSmartTagRect Returns the smart tag window.
Public method GetSubjectCaretPos Gets the caret position for the text upon which IntelliSense operates.
Public method GetSubjectSelection Gets the selection relative to the text upon which IntelliSense operates.
Public method GetSubjectText Gets the text upon which IntelliSense operates.
Public method HighlightMatchingBrace Highlights the matching brace.
Public method QueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr) (Inherited from IOleCommandTarget.)
Public method QueryStatus(Guid%, UInt32, array<OLECMD[], array<OLECMDTEXT[]) Queries this object for the status of one or more commands generated by user interface events.
Public method ReplaceSubjectTextSpan Edits the text upon which IntelliSense operates.
Public method SetContextCaretPos Sets the caret position relative to the context buffer.
Public method SetContextSelection Sets the selection relative to the context buffer.
Public method SetSubjectCaretPos Sets the caret position relative to the text upon which IntelliSense operates.
Public method SetSubjectSelection Sets the selection relative to the text upon which IntelliSense operates.
Public method UpdateCompletionStatus Updates the completion status user interface (UI).
Public method UpdateSmartTagWindow Updates the smart tag window.
Public method UpdateTipWindow Updates the tip window.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace