IVsTextViewIntellisenseHostProvider.CreateIntellisenseHost Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an IntelliSense host.
public:
int CreateIntellisenseHost(Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator ^ pBufferCoordinator, Guid % riid, [Runtime::InteropServices::Out] IntPtr % ppunkHost);
public int CreateIntellisenseHost (Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator pBufferCoordinator, ref Guid riid, out IntPtr ppunkHost);
abstract member CreateIntellisenseHost : Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator * Guid * nativeint -> int
Public Function CreateIntellisenseHost (pBufferCoordinator As IVsTextBufferCoordinator, ByRef riid As Guid, ByRef ppunkHost As IntPtr) As Integer
Parameters
- pBufferCoordinator
- IVsTextBufferCoordinator
[in] Pointer to the IVsTextBufferCoordinator interface.
- riid
- Guid
[in] GUID of the text buffer coordinator for which the IntelliSense host is being created.
- ppunkHost
-
IntPtr
nativeint
[out, iid_is(riid)] The IntelliSense host.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
If pBufferCoordinator
is NULL
, the returned host is simply a pass-through directly to this view.
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHostProvider::CreateIntellisenseHost([in] IVsTextBufferCoordinator *pBufferCoordinator, [in] REFIID riid, [out, iid_is(riid)] void **ppunkHost);