共用方式為


IVsIntellisenseHost.UpdateTipWindow Method

Updates the tip window.

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

Syntax

'宣告
Function UpdateTipWindow ( _
    pTipWindow As IVsTipWindow, _
    dwFlags As UInteger _
) As Integer
int UpdateTipWindow(
    IVsTipWindow pTipWindow,
    uint dwFlags
)
int UpdateTipWindow(
    [InAttribute] IVsTipWindow^ pTipWindow, 
    [InAttribute] unsigned int dwFlags
)
abstract UpdateTipWindow : 
        pTipWindow:IVsTipWindow * 
        dwFlags:uint32 -> int 
function UpdateTipWindow(
    pTipWindow : IVsTipWindow, 
    dwFlags : uint
) : int

Parameters

Return Value

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

Remarks

This method will fail if you pass in a class that does not implement either IVsTextTipWindow2 or IVsMethodTipWindow3. Custom Win32 owner-drawn popups are no longer allowed.

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseHost::UpdateTipWindow([in] IVsTipWindow *pTipWindow, [in] DWORD dwFlags);

.NET Framework Security

See Also

Reference

IVsIntellisenseHost Interface

Microsoft.VisualStudio.TextManager.Interop Namespace