ステータス バー テキストおよび前景色および背景色を設定します。
名前空間: 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 セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。