SharedStatusBar.SetColorText - метод
Задает текст строки состояния с цветами фона и переднего плана.
Пространство имен: Microsoft.VisualStudio.Data.Schema.Package.UI
Сборка: Microsoft.VisualStudio.Data.Schema.Package (в Microsoft.VisualStudio.Data.Schema.Package.dll)
Синтаксис
'Декларация
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
Параметры
- possibleOwner
Тип: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
Владелец строки состояния.Если не является владельцем, ничего не происходит.
- pszText
Тип: System.String
Текст, отображаемый в области текста состояния.
- crForeColor
Тип: System.UInt32
Цвет переднего плана текста.
- crBackColor
Тип: System.UInt32
Цвет фона текста.
Возвращаемое значение
Тип: System.Int32
Реализации
ISharedStatusBar.SetColorText(SharedStatusBarOwner, String, UInt32, UInt32)
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
Microsoft.VisualStudio.Data.Schema.Package.UI - пространство имен