共用方式為


VsIntellisenseCompletorClass.Initialize(IVsIntellisenseHost, IntPtr) Method

Definition

Initializes the IntelliSense completor.

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

Parameters

pHost
IVsIntellisenseHost

The completor’s host.

hwndParent
IntPtr

nativeint

Handle of the completor’s parent window.

Returns

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

Implements

Applies to