Compartilhar via


Método SharedStatusBar.SetColorText

Define o texto da barra de status com cores de primeiro plano e plano de fundo.

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

Sintaxe

'Declaração
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

Parâmetros

  • pszText
    Tipo: System.String
    O texto será exibido na área de texto de status.
  • crForeColor
    Tipo: System.UInt32
    A cor de primeiro plano do texto.
  • crBackColor
    Tipo: System.UInt32
    A cor de plano de fundo do texto.

Valor de retorno

Tipo: System.Int32

Implementações

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

Segurança do .NET Framework

Consulte também

Referência

SharedStatusBar Classe

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