StatusBar.ShowTextUpdates メソッド

更新 : 2007 年 11 月

StatusBar にテキスト更新を表示するかどうかを決定します。

名前空間 :  EnvDTE
アセンブリ :  EnvDTE (EnvDTE.dll 内)

構文

'宣言
Function ShowTextUpdates ( _
    TextUpdates As Boolean _
) As Boolean
'使用
Dim instance As StatusBar
Dim TextUpdates As Boolean
Dim returnValue As Boolean

returnValue = instance.ShowTextUpdates(TextUpdates)
bool ShowTextUpdates(
    bool TextUpdates
)
bool ShowTextUpdates(
    bool TextUpdates
)
function ShowTextUpdates(
    TextUpdates : boolean
) : boolean

パラメータ

  • TextUpdates
    型 : System.Boolean

    必ず指定します。テキスト更新を表示するかどうかを指定します。

戻り値

型 : System.Boolean

StatusBar にテキスト更新を表示するかどうかを示すブール値。

解説

ShowTextUpdates メソッドは、テキストを非表示にするウィザードを実行するときに使用します。たとえば、[検索] や [置換] などの操作で使用します。

Sub ShowTextUpdatesExample()
   Dim SBar As StatusBar
   SBar = DTE.StatusBar

   SBar.Text = "Hello world."
   MsgBox("Turning off text updates...")
   SBar.ShowTextUpdates(False)
   SBar.Text = "Goodbye world."
End Sub

アクセス許可

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

参照

参照

StatusBar インターフェイス

StatusBar メンバ

EnvDTE 名前空間