IVsExternalCompletionSet.SetIntellisenseHost(IVsIntellisenseHost) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
设置控制完成列表显示的 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 宿主。
返回
如果成功, S_OK 则返回; 否则返回错误代码。
注解
COM 签名
从 singlefileeditor:
HRESULT IVsExternalCompletionSet::SetIntellisenseHost(
[in] IVsIntellisenseHost *pHost
);