IVsIntellisenseLangTip.Initialize Method
Initializes a language tooltip.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function Initialize ( _
pHost As IVsIntellisenseHost _
) As Integer
int Initialize(
IVsIntellisenseHost pHost
)
int Initialize(
[InAttribute] IVsIntellisenseHost^ pHost
)
abstract Initialize :
pHost:IVsIntellisenseHost -> int
function Initialize(
pHost : IVsIntellisenseHost
) : int
Parameters
- pHost
Type: Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost
[in] A pointer to the IVsIntellisenseHost interface.
Return Value
Type: System.Int32
If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
Remarks
C++
From singlefileeditor.idl:
HRESULT IVsIntellisenseLangTip::Initialize([in] IVsIntellisenseHost *pHost);
.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.