SharedStatusBar.SetColorText Method
Sets the status bar text with foreground and background colors.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- pszText
Type: System.String
The text to display in the status text area.
- crForeColor
Type: System.UInt32
The foreground color of the text.
- crBackColor
Type: System.UInt32
The background color of the text.
Return Value
Type: System.Int32
Implements
ISharedStatusBar.SetColorText(SharedStatusBarOwner, String, UInt32, UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.