核心编辑器为标准编辑视图提供的 intellisense 宿主。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")> _
Public Interface IVsTextViewIntellisenseHost _
Inherits IVsIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
public interface IVsTextViewIntellisenseHost : IVsIntellisenseHost
[InterfaceTypeAttribute()]
[GuidAttribute(L"0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")]
public interface class IVsTextViewIntellisenseHost : IVsIntellisenseHost
[<InterfaceTypeAttribute()>]
[<GuidAttribute("0816A38B-2B41-4D2A-B1FF-23C1E28D8A18")>]
type IVsTextViewIntellisenseHost =
interface
interface IVsIntellisenseHost
end
public interface IVsTextViewIntellisenseHost extends IVsIntellisenseHost
IVsTextViewIntellisenseHost 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
AfterCompletorCommit | |
![]() |
BeforeCompletorCommit | |
![]() |
Exec | |
![]() |
GetContextBuffer | 上下文缓冲区。 |
![]() |
GetContextCaretPos | |
![]() |
GetContextFocalPoint | “应考虑启动的上下文点的上下文缓冲区 focus”或确定 |
![]() |
GetContextLocation | |
![]() |
GetContextSelection | |
![]() |
GetHostFlags | 宿主标志 (请参见上面 IntellisenseHostFlags 枚举) |
![]() |
GetHostWindow | |
![]() |
GetServiceProvider | |
![]() |
GetSmartTagRect | |
![]() |
GetSubjectCaretPos | |
![]() |
GetSubjectSelection | |
![]() |
GetSubjectText | Intellisense 应运行的文本。 |
![]() |
HighlightMatchingBrace | |
![]() |
QueryStatus | |
![]() |
ReplaceSubjectTextSpan | 编辑这些主题文本。返回 E_FAIL (或者它),如果文本包含 CR/LFs,并且标志包含 IHF_SINGLELINESUBJECT。 |
![]() |
SetContextCaretPos | 设置相对上下文缓冲区的插入符号/选择。任何应将缓冲区执行编辑。 |
![]() |
SetContextSelection | |
![]() |
SetSubjectCaretPos | 主题文本的插入符号/选择管理。,如果 IHF_NOSEPARATESUBJECT 在标记中,将所有返回 E_NOTIMPL。 |
![]() |
SetSubjectFromPrimaryBuffer | 设置从主缓冲区的大小。 |
![]() |
SetSubjectSelection | |
![]() |
UpdateCompletionStatus | Intellisense UI 处理。 |
![]() |
UpdateSmartTagWindow | |
![]() |
UpdateTipWindow |
页首