IVsExternalCompletionSet.SetIntellisenseHost 方法

设置控件来显示列表中的 IntelliSense 宿主。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
Function SetIntellisenseHost ( _
    pHost As IVsIntellisenseHost _
) As Integer
int SetIntellisenseHost(
    IVsIntellisenseHost pHost
)
int SetIntellisenseHost(
    [InAttribute] IVsIntellisenseHost^ pHost
)
abstract SetIntellisenseHost : 
        pHost:IVsIntellisenseHost -> int
function SetIntellisenseHost(
    pHost : IVsIntellisenseHost
) : int

参数

返回值

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

备注

COM 签名

从 singlefileeditor.idl:

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

.NET Framework 安全性

请参阅

参考

IVsExternalCompletionSet 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间