Partager via


IVsMethodTipWindow.Paint Method

Paints the tip window.

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

Syntax

'Declaration
Function Paint ( _
    hdc As IntPtr, _
    prc As RECT() _
) As Integer
int Paint(
    IntPtr hdc,
    RECT[] prc
)
int Paint(
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ prc
)
abstract Paint : 
        hdc:IntPtr * 
        prc:RECT[] -> int
function Paint(
    hdc : IntPtr, 
    prc : RECT[]
) : int

Parameters

  • hdc
    Type: System.IntPtr

    [in]Handle to the display context in which to draw the tip window.

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsMethodTipWindow::Paint(
   [in] HDC hdc, 
   [in] const RECT *prc
);

.NET Framework Security

See Also

Reference

IVsMethodTipWindow Interface

Microsoft.VisualStudio.TextManager.Interop Namespace