DBStatusBar.SetColorText Method
Sets the status bar text and specifies foreground and background colors.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Function SetColorText ( _
possibleOwner As DBStatusBarOwner, _
pszText As String, _
crForeColor As UInteger, _
crBackColor As UInteger _
) As Integer
'Usage
Dim instance As DBStatusBar
Dim possibleOwner As DBStatusBarOwner
Dim pszText As String
Dim crForeColor As UInteger
Dim crBackColor As UInteger
Dim returnValue As Integer
returnValue = instance.SetColorText(possibleOwner, _
pszText, crForeColor, crBackColor)
public int SetColorText(
DBStatusBarOwner possibleOwner,
string pszText,
uint crForeColor,
uint crBackColor
)
public:
virtual int SetColorText(
DBStatusBarOwner^ possibleOwner,
String^ pszText,
unsigned int crForeColor,
unsigned int crBackColor
) sealed
public final function SetColorText(
possibleOwner : DBStatusBarOwner,
pszText : String,
crForeColor : uint,
crBackColor : uint
) : int
abstract SetColorText :
possibleOwner:DBStatusBarOwner *
pszText:string *
crForeColor:uint32 *
crBackColor:uint32 -> int
override SetColorText :
possibleOwner:DBStatusBarOwner *
pszText:string *
crForeColor:uint32 *
crBackColor:uint32 -> int
Parameters
- possibleOwner
Type: Microsoft.Data.Schema.Sql.Common.UI.DBStatusBarOwner
The possible owner
- pszText
Type: System.String
The text to display
- crForeColor
Type: System.UInt32
The foreground text color
- crBackColor
Type: System.UInt32
The background text color
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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace