IVsTextViewIntellisenseHostProvider.CreateIntellisenseHost Method
Creates an IntelliSense host.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
‘선언
Function CreateIntellisenseHost ( _
pBufferCoordinator As IVsTextBufferCoordinator, _
ByRef riid As Guid, _
<OutAttribute> ByRef ppunkHost As IntPtr _
) As Integer
‘사용 방법
Dim instance As IVsTextViewIntellisenseHostProvider
Dim pBufferCoordinator As IVsTextBufferCoordinator
Dim riid As Guid
Dim ppunkHost As IntPtr
Dim returnValue As Integer
returnValue = instance.CreateIntellisenseHost(pBufferCoordinator, _
riid, ppunkHost)
int CreateIntellisenseHost(
IVsTextBufferCoordinator pBufferCoordinator,
ref Guid riid,
out IntPtr ppunkHost
)
int CreateIntellisenseHost(
[InAttribute] IVsTextBufferCoordinator^ pBufferCoordinator,
[InAttribute] Guid% riid,
[OutAttribute] IntPtr% ppunkHost
)
abstract CreateIntellisenseHost :
pBufferCoordinator:IVsTextBufferCoordinator *
riid:Guid byref *
ppunkHost:IntPtr byref -> int
function CreateIntellisenseHost(
pBufferCoordinator : IVsTextBufferCoordinator,
riid : Guid,
ppunkHost : IntPtr
) : int
Parameters
- pBufferCoordinator
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator
- riid
Type: System.Guid%
- ppunkHost
Type: System.IntPtr%
Return Value
Type: System.Int32
If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
Remarks
If pBufferCoordinator is NULL, the returned host is simply a pass-through directly to this view.
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHostProvider::CreateIntellisenseHost([in] IVsTextBufferCoordinator *pBufferCoordinator, [in] REFIID riid, [out, iid_is(riid)] void **ppunkHost);
.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.
See Also
Reference
IVsTextViewIntellisenseHostProvider Interface