共用方式為


IVsSmartTagTipWindow.Paint Method

Renders the window.

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

Syntax

'宣告
Function Paint ( _
    hdc As IntPtr, _
    prc As RECT(), _
    pColor As UInteger, _
    pColorText As UInteger, _
    fSel As Integer _
) As Integer
'用途
Dim instance As IVsSmartTagTipWindow
Dim hdc As IntPtr
Dim prc As RECT()
Dim pColor As UInteger
Dim pColorText As UInteger
Dim fSel As Integer
Dim returnValue As Integer

returnValue = instance.Paint(hdc, prc, _
    pColor, pColorText, fSel)
int Paint(
    IntPtr hdc,
    RECT[] prc,
    uint pColor,
    uint pColorText,
    int fSel
)
int Paint(
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ prc, 
    [InAttribute] unsigned int pColor, 
    [InAttribute] unsigned int pColorText, 
    [InAttribute] int fSel
)
abstract Paint : 
        hdc:IntPtr * 
        prc:RECT[] * 
        pColor:uint32 * 
        pColorText:uint32 * 
        fSel:int -> int 
function Paint(
    hdc : IntPtr, 
    prc : RECT[], 
    pColor : uint, 
    pColorText : uint, 
    fSel : int
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IVsSmartTagTipWindow Interface

IVsSmartTagTipWindow Members

Microsoft.VisualStudio.TextManager.Interop Namespace