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


SharedStatusBar.SetColorText - метод

Задает текст строки состояния с цветами фона и переднего плана.

Пространство имен:  Microsoft.VisualStudio.Data.Schema.Package.UI
Сборка:  Microsoft.VisualStudio.Data.Schema.Package (в Microsoft.VisualStudio.Data.Schema.Package.dll)

Синтаксис

'Декларация
Public Function SetColorText ( _
    possibleOwner As SharedStatusBarOwner, _
    pszText As String, _
    crForeColor As UInteger, _
    crBackColor As UInteger _
) As Integer
public int SetColorText(
    SharedStatusBarOwner possibleOwner,
    string pszText,
    uint crForeColor,
    uint crBackColor
)
public:
virtual int SetColorText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ pszText, 
    unsigned int crForeColor, 
    unsigned int crBackColor
) sealed
abstract SetColorText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 
override SetColorText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string * 
        crForeColor:uint32 * 
        crBackColor:uint32 -> int 
public final function SetColorText(
    possibleOwner : SharedStatusBarOwner, 
    pszText : String, 
    crForeColor : uint, 
    crBackColor : uint
) : int

Параметры

  • pszText
    Тип: System.String
    Текст, отображаемый в области текста состояния.
  • crForeColor
    Тип: System.UInt32
    Цвет переднего плана текста.
  • crBackColor
    Тип: System.UInt32
    Цвет фона текста.

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

Тип: System.Int32

Реализации

ISharedStatusBar.SetColorText(SharedStatusBarOwner, String, UInt32, UInt32)

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

См. также

Ссылки

SharedStatusBar Класс

Microsoft.VisualStudio.Data.Schema.Package.UI - пространство имен