Dela via


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

  • 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

See Also

Reference

ISharedStatusBar Interface

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