IVsTextViewIntellisenseHost 接口

核心编辑器为标准编辑视图提供的 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

页首

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间