Compartir a través de


IVsIntellisenseHost Interface

Definition

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

public interface class IVsIntellisenseHost : Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget
public interface class IVsIntellisenseHost : Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget
__interface IVsIntellisenseHost : Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget
[System.Runtime.InteropServices.Guid("0377986B-C450-453C-A7BE-67116C9129A6")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsIntellisenseHost : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
[System.Runtime.InteropServices.Guid("0377986B-C450-453C-A7BE-67116C9129A6")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsIntellisenseHost : Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget
[<System.Runtime.InteropServices.Guid("0377986B-C450-453C-A7BE-67116C9129A6")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsIntellisenseHost = interface
    interface IOleCommandTarget
[<System.Runtime.InteropServices.Guid("0377986B-C450-453C-A7BE-67116C9129A6")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsIntellisenseHost = interface
    interface IOleCommandTarget
Public Interface IVsIntellisenseHost
Implements IOleCommandTarget
Derived
Attributes
Implements

Methods

AfterCompletorCommit()

Handles any cleanup actions after a call to the completor.

BeforeCompletorCommit()

Handles actions before committing the completor call.

Exec(Guid, UInt32, UInt32, IntPtr, IntPtr)

Executes the specified command.

(Inherited from IOleCommandTarget)
Exec(Guid, UInt32, UInt32, Object, Object)

Executes the specified command.

GetContextBuffer(IVsTextLines)

Gets the context buffer for IntelliSense.

GetContextCaretPos(Int32, Int32)

Gets the caret position relative to the context buffer.

GetContextFocalPoint(TextSpan[], Int32)

Returns the position in the context buffer that is considered the starting context point.

GetContextLocation(Int32, Int32, Int32, RECT[], Int32)

Gets the bounding rectangle for the IntelliSense context.

GetContextSelection(TextSpan[])

Gets the selection relative to the context buffer.

GetHostFlags(UInt32)

Gets the IntelliSense host flags from the IntellisenseHostFlags enumeration.

GetHostWindow(IntPtr)

Returns a handle to the host window.

GetServiceProvider(IServiceProvider)

Gets an IntelliSense service object.

GetSmartTagRect(RECT[])

Returns the smart tag window.

GetSubjectCaretPos(Int32)

Gets the caret position for the text upon which IntelliSense operates.

GetSubjectSelection(Int32, Int32)

Gets the selection relative to the text upon which IntelliSense operates.

GetSubjectText(String)

Gets the text upon which IntelliSense operates.

HighlightMatchingBrace(UInt32, UInt32, TextSpan[])

Highlights the matching brace.

QueryStatus(Guid, UInt32, OLECMD[], IntPtr)

Queries the object for the status of one or more commands generated by user interface events.

(Inherited from IOleCommandTarget)
QueryStatus(Guid, UInt32, OLECMD[], OLECMDTEXT[])

Queries this object for the status of one or more commands generated by user interface events.

ReplaceSubjectTextSpan(Int32, Int32, String)

Edits the text upon which IntelliSense operates.

SetContextCaretPos(Int32, Int32)

Sets the caret position relative to the context buffer.

SetContextSelection(Int32, Int32, Int32, Int32)

Sets the selection relative to the context buffer.

SetSubjectCaretPos(Int32)

Sets the caret position relative to the text upon which IntelliSense operates.

SetSubjectSelection(Int32, Int32)

Sets the selection relative to the text upon which IntelliSense operates.

UpdateCompletionStatus(IVsCompletionSet, UInt32)

Updates the completion status user interface (UI).

UpdateSmartTagWindow(IVsSmartTagTipWindow, UInt32)

Updates the smart tag window.

UpdateTipWindow(IVsTipWindow, UInt32)

Updates the tip window.

Applies to