Udostępnij za pośrednictwem


StatusBar.Highlight(Boolean) Method

Definition

Toggles highlighting of text within the StatusBar.

public:
 void Highlight(bool Highlight);
public:
 void Highlight(bool Highlight);
void Highlight(bool Highlight);
[System.Runtime.InteropServices.DispId(9)]
public void Highlight (bool Highlight);
[<System.Runtime.InteropServices.DispId(9)>]
abstract member Highlight : bool -> unit
Public Sub Highlight (Highlight As Boolean)

Parameters

Highlight
Boolean

Required. Indicates whether text in the StatusBar is highlighted. True means the text is highlighted.

Attributes

Examples

Sub HighlightExample()  
   Dim SBar As StatusBar  
   SBar = DTE.StatusBar  
   SBar.Text = "Status Bar testing message."  
   SBar.Highlight(True)  
End Sub  

Remarks

The Highlight setting remains in effect until the text in the StatusBar is either cleared or set.

Applies to