Поделиться через


IVsSmartTagTipWindow.Paint - метод

Отображает окно.

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop.8.0 (в Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Синтаксис

'Декларация
Function Paint ( _
    hdc As IntPtr, _
    prc As RECT(), _
    pColor As UInteger, _
    pColorText As UInteger, _
    fSel As Integer _
) As Integer
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

Параметры

  • hdc
    Тип: IntPtr

    Дескриптор окна.

  • prc
    Тип: array<RECT[]

    [in] координаты ограничивающего прямоугольника.

  • pColor
    Тип: UInt32

    Идентификатор цвета

  • pColorText
    Тип: UInt32

    Идентификатор текст цвета

  • fSel
    Тип: Int32

Возвращаемое значение

Тип: Int32
Если метод завершается успешно, возвращается S_OK.Если происходит сбой, возвращается код ошибки.

Безопасность платформы .NET Framework

См. также

Ссылки

IVsSmartTagTipWindow Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен