Sdílet prostřednictvím


ISharedStatusBar.SetColorText – metoda

Nastaví text na stavovém řádku pomocí barev popředí a pozadí.

Obor názvů:  Microsoft.VisualStudio.Data.Schema.Package.UI
Sestavení:  Microsoft.VisualStudio.Data.Schema.Package (v Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntaxe

'Deklarace
Function SetColorText ( _
    possibleOwner As SharedStatusBarOwner, _
    text As String, _
    foreColor As UInteger, _
    backColor As UInteger _
) As Integer
int SetColorText(
    SharedStatusBarOwner possibleOwner,
    string text,
    uint foreColor,
    uint backColor
)
int SetColorText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ text, 
    unsigned int foreColor, 
    unsigned int backColor
)
abstract SetColorText : 
        possibleOwner:SharedStatusBarOwner * 
        text:string * 
        foreColor:uint32 * 
        backColor:uint32 -> int 
function SetColorText(
    possibleOwner : SharedStatusBarOwner, 
    text : String, 
    foreColor : uint, 
    backColor : uint
) : int

Parametry

  • text
    Typ: System.String
    Text zobrazený v textové oblasti stavu.

Vrácená hodnota

Typ: System.Int32

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ISharedStatusBar Rozhraní

Microsoft.VisualStudio.Data.Schema.Package.UI – obor názvů