共用方式為


IVsExternalCompletionSet.SetIntellisenseHost(IVsIntellisenseHost) Method

Definition

Set the IntelliSense host that controls the display of the completion list.

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

Parameters

pHost
IVsIntellisenseHost

[in] An IVsIntellisenseHost object representing the IntelliSense host that displays the completion list.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

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

Applies to