Condividi tramite


StatusBar.ShowTextUpdates Method

Determines whether the StatusBar shows text updates.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function ShowTextUpdates ( _
    TextUpdates As Boolean _
) As Boolean
bool ShowTextUpdates(
    bool TextUpdates
)
bool ShowTextUpdates(
    bool TextUpdates
)
abstract ShowTextUpdates : 
        TextUpdates:bool -> bool
function ShowTextUpdates(
    TextUpdates : boolean
) : boolean

Parameters

  • TextUpdates
    Type: System.Boolean

    Required. Indicates whether to show text updates.

Return Value

Type: System.Boolean
A Boolean value indicating whether the StatusBar shows text updates.

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.

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

.NET Framework Security

See Also

Reference

StatusBar Interface

EnvDTE Namespace