IVsExternalCompletionSet.SetIntellisenseHost(IVsIntellisenseHost) 方法

定义

设置控制完成列表显示的 IntelliSense 宿主。

public:
 int SetIntellisenseHost(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost ^ pHost);
public:
 int SetIntellisenseHost(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost ^ pHost);
int SetIntellisenseHost(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost const & pHost);
public int SetIntellisenseHost (Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost pHost);
abstract member SetIntellisenseHost : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost -> int
Public Function SetIntellisenseHost (pHost As IVsIntellisenseHost) As Integer

参数

pHost
IVsIntellisenseHost

中一个 IVsIntellisenseHost 对象,该对象表示显示完成列表的 IntelliSense 宿主。

返回

Int32

如果成功, S_OK 则返回; 否则返回错误代码。

注解

COM 签名

从 singlefileeditor:

HRESULT IVsExternalCompletionSet::SetIntellisenseHost(  
   [in] IVsIntellisenseHost *pHost  
);  

适用于