ISharedStatusBar.SetColorText-Methode

Legt den Statusleistentext mit Vordergrund- und Hintergrundfarben fest.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
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

Parameter

  • text
    Typ: System.String
    Der Text, der im Statustextbereich angezeigt werden soll.

Rückgabewert

Typ: System.Int32

.NET Framework-Sicherheit

Siehe auch

Referenz

ISharedStatusBar Schnittstelle

Microsoft.VisualStudio.Data.Schema.Package.UI-Namespace