共用方式為


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

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

See Also

Reference

IVsExternalCompletionSet Interface

Microsoft.VisualStudio.TextManager.Interop Namespace