ISharedStatusBar.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
Function SetColorText ( _
possibleOwner As SharedStatusBarOwner, _
text As String, _
foreColor As UInteger, _
backColor As UInteger _
) As Integer
int SetColorText(
SharedStatusBarOwner possibleOwner,
string text,
uint foreColor,
uint backColor
)
int SetColorText(
SharedStatusBarOwner^ possibleOwner,
String^ text,
unsigned int foreColor,
unsigned int backColor
)
abstract SetColorText :
possibleOwner:SharedStatusBarOwner *
text:string *
foreColor:uint32 *
backColor:uint32 -> int
function SetColorText(
possibleOwner : SharedStatusBarOwner,
text : String,
foreColor : uint,
backColor : 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.
- text
Type: System.String
The text to display in the status text area.
- foreColor
Type: System.UInt32
The foreground color of the text.
- backColor
Type: System.UInt32
The background color of the text.
Return Value
Type: System.Int32
.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.