实现由客户端 (包括 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 | 更新提示窗口。 |
页首