Partager via


IVsIntellisenseCompletor.Initialize(IVsIntellisenseHost, IntPtr) Method

Definition

Initializes the IntelliSense completor.

public:
 int Initialize(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost ^ pHost, IntPtr hwndParent);
public int Initialize (Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost pHost, IntPtr hwndParent);
abstract member Initialize : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost * nativeint -> int
Public Function Initialize (pHost As IVsIntellisenseHost, hwndParent As IntPtr) As Integer

Parameters

pHost
IVsIntellisenseHost

Pointer to IVsIntellisenseHost

hwndParent
IntPtr

nativeint

Handle to the parent window.

Returns

If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseCompletor::Initialize(IVsIntellisenseHost *pHost, HWND hwndParent);

Applies to