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
- possibleOwner
Tipo: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
Propietario de la barra de estado.Si no es el propietario, no ocurrirá nada.
- 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.
- crBackColor
Tipo: System.UInt32
Color de fondo del texto.
Valor devuelto
Tipo: System.Int32
Implementaciones
ISharedStatusBar.SetColorText(SharedStatusBarOwner, String, UInt32, UInt32)
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.Data.Schema.Package.UI (Espacio de nombres)