次の方法で共有


SharedStatusBar.SetText メソッド

テキスト領域にステータス バーのテキストを設定します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.UI
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

'宣言
Public Function SetText ( _
    possibleOwner As SharedStatusBarOwner, _
    pszText As String _
) As Boolean
public bool SetText(
    SharedStatusBarOwner possibleOwner,
    string pszText
)
public:
virtual bool SetText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ pszText
) sealed
abstract SetText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string -> bool 
override SetText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string -> bool 
public final function SetText(
    possibleOwner : SharedStatusBarOwner, 
    pszText : String
) : boolean

パラメーター

  • pszText
    型: System.String
    ステータス テキスト領域に表示するテキスト。

戻り値

型: System.Boolean

実装

ISharedStatusBar.SetText(SharedStatusBarOwner, String)

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SharedStatusBar クラス

Microsoft.VisualStudio.Data.Schema.Package.UI 名前空間