Metodo SharedStatusBar.SetColorText

Imposta il testo della barra di stato con colore di primo piano e colore di sfondo.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Sintassi

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

Parametri

  • pszText
    Tipo: System.String
    Testo da visualizzare nell'area di testo dello stato.
  • crForeColor
    Tipo: System.UInt32
    Colore di primo piano del testo.

Valore restituito

Tipo: System.Int32

Implementa

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

SharedStatusBar Classe

Spazio dei nomi Microsoft.VisualStudio.Data.Schema.Package.UI