ISharedStatusBar.SetColorText – metoda
Nastaví text na stavovém řádku pomocí barev popředí a pozadí.
Obor názvů: Microsoft.VisualStudio.Data.Schema.Package.UI
Sestavení: Microsoft.VisualStudio.Data.Schema.Package (v Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntaxe
'Deklarace
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
Parametry
- possibleOwner
Typ: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
Vlastník stavový řádek.Není-li vlastník, žádná akce.
- text
Typ: System.String
Text zobrazený v textové oblasti stavu.
- foreColor
Typ: System.UInt32
Barva popředí textu.
- backColor
Typ: System.UInt32
Barva pozadí textu.
Vrácená hodnota
Typ: System.Int32
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.