Condividi tramite


VsIntellisenseCompletorClass.Initialize Method

Initializes the IntelliSense completor.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Public Overridable Function Initialize ( _
    pHost As IVsIntellisenseHost, _
    hwndParent As IntPtr _
) As Integer
public virtual int Initialize(
    IVsIntellisenseHost pHost,
    IntPtr hwndParent
)
public:
virtual int Initialize(
    IVsIntellisenseHost^ pHost, 
    IntPtr hwndParent
)
abstract Initialize : 
        pHost:IVsIntellisenseHost * 
        hwndParent:IntPtr -> int  
override Initialize : 
        pHost:IVsIntellisenseHost * 
        hwndParent:IntPtr -> int
public function Initialize(
    pHost : IVsIntellisenseHost, 
    hwndParent : IntPtr
) : int

Parameters

  • hwndParent
    Type: System.IntPtr

    Handle of the completor’s parent window.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsIntellisenseCompletor.Initialize(IVsIntellisenseHost, IntPtr)

.NET Framework Security

See Also

Reference

VsIntellisenseCompletorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace