IVsExternalCompletionSet.SetIntellisenseHost Method
Set the IntelliSense host that controls the display of the completion list.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
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
Parameters
- pHost
Type: Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost
[in] An IVsIntellisenseHost object representing the IntelliSense host that displays the completion list.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT IVsExternalCompletionSet::SetIntellisenseHost(
[in] IVsIntellisenseHost *pHost
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.