IVsIntellisenseHost 接口

实现由客户端 (包括 IVsTextView) 提供承载功能的 IntelliSense。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
<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

IVsIntellisenseHost 类型公开以下成员。

方法

  名称 说明
公共方法 AfterCompletorCommit 处理在调用之后的任何清理操作对 completor。
公共方法 BeforeCompletorCommit 在提交 completor 之前的事件调用。
公共方法 Exec(Guid, UInt32, UInt32, IntPtr, IntPtr) (继承自 IOleCommandTarget。)
公共方法 Exec(Guid%, UInt32, UInt32, Object%, Object%)
公共方法 GetContextBuffer 获取 IntelliSense 的上下文缓冲区。
公共方法 GetContextCaretPos 将脱字号位置相对于上下文缓冲区。
公共方法 GetContextFocalPoint 返回在被视为启动的上下文点的上下文缓冲区的位置。
公共方法 GetContextLocation IntelliSense 上下文的 Gets 边框。
公共方法 GetContextSelection 获取选定内容相对上下文缓冲区。
公共方法 GetHostFlags IntelliSenseHostFlags 枚举获取 IntelliSense 宿主标志。
公共方法 GetHostWindow 将处理返回给宿主窗口。
公共方法 GetServiceProvider 获取 IntelliSense 服务对象。
公共方法 GetSmartTagRect 返回智能标记窗口。
公共方法 GetSubjectCaretPos 获取插入符号位置相对于 IntelliSense 运行的文本。
公共方法 GetSubjectSelection 获取选定内容相对 IntelliSense 运行的文本。
公共方法 GetSubjectText 获取 IntelliSense 运行的文本。
公共方法 HighlightMatchingBrace 显示匹配的大括号。
公共方法 QueryStatus(Guid, UInt32, OLECMD, IntPtr) (继承自 IOleCommandTarget。)
公共方法 QueryStatus(Guid%, UInt32, array<OLECMD[], array<OLECMDTEXT[])
公共方法 ReplaceSubjectTextSpan 编辑 IntelliSense 运行的文本。
公共方法 SetContextCaretPos 将脱字号位置相对于上下文缓冲区。
公共方法 SetContextSelection 将选定内容相对上下文缓冲区。
公共方法 SetSubjectCaretPos 将脱字号位置相对于 IntelliSense 运行的文本。
公共方法 SetSubjectSelection 将选定内容相对 IntelliSense 运行的文本。
公共方法 UpdateCompletionStatus 更新完成状态用户 (UI)界面。
公共方法 UpdateSmartTagWindow 更新智能标记窗口。
公共方法 UpdateTipWindow 更新提示窗口。

页首

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间