Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
Function Initialize ( _
pHost As IVsIntellisenseHost, _
hwndParent As IntPtr _
) As Integer
int Initialize(
IVsIntellisenseHost pHost,
IntPtr hwndParent
)
int Initialize(
IVsIntellisenseHost^ pHost,
IntPtr hwndParent
)
abstract Initialize :
pHost:IVsIntellisenseHost *
hwndParent:IntPtr -> int
function Initialize(
pHost : IVsIntellisenseHost,
hwndParent : IntPtr
) : int
Parameters
pHost
Type: Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHostPointer to IVsIntellisenseHost
hwndParent
Type: System.IntPtrHandle to the parent window.
Return Value
Type: System.Int32
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);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.