IVsIntellisenseCompletor.Initialize(IVsIntellisenseHost, IntPtr) 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.
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);