Compartir a través de


SharedStatusBar.SetColorText (Método)

Establece el texto de la barra de estado con colores de primer plano y de fondo.

Espacio de nombres:  Microsoft.VisualStudio.Data.Schema.Package.UI
Ensamblado:  Microsoft.VisualStudio.Data.Schema.Package (en Microsoft.VisualStudio.Data.Schema.Package.dll)

Sintaxis

'Declaración
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
    Texto que se va a mostrar en el área de texto del estado.
  • crForeColor
    Tipo: System.UInt32
    Color de primer plano del texto.

Valor devuelto

Tipo: System.Int32

Implementaciones

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

Seguridad de .NET Framework

Vea también

Referencia

SharedStatusBar Clase

Microsoft.VisualStudio.Data.Schema.Package.UI (Espacio de nombres)