Udostępnij za pośrednictwem


StatusBar.ShowTextUpdates(Boolean) Method

Definition

Determines whether the StatusBar shows text updates.

public:
 bool ShowTextUpdates(bool TextUpdates);
public:
 bool ShowTextUpdates(bool TextUpdates);
bool ShowTextUpdates(bool TextUpdates);
[System.Runtime.InteropServices.DispId(10)]
public bool ShowTextUpdates (bool TextUpdates);
[<System.Runtime.InteropServices.DispId(10)>]
abstract member ShowTextUpdates : bool -> bool
Public Function ShowTextUpdates (TextUpdates As Boolean) As Boolean

Parameters

TextUpdates
Boolean

Required. Indicates whether to show text updates.

Returns

A Boolean value indicating whether the StatusBar shows text updates.

Attributes

Examples

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  

Remarks

The ShowTextUpdates method is useful, for example, when running a Wizard where you do not want text to display from an operation such as Search and Replace.

Applies to