StatusBar.Highlight Method
Toggles highlighting of text within the StatusBar.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub Highlight ( _
Highlight As Boolean _
)
void Highlight(
bool Highlight
)
void Highlight(
bool Highlight
)
abstract Highlight :
Highlight:bool -> unit
function Highlight(
Highlight : boolean
)
Parameters
- Highlight
Type: System.Boolean
Required. Indicates whether text in the StatusBar is highlighted. True means the text is highlighted.
Remarks
The Highlight setting remains in effect until the text in the StatusBar is either cleared or set.
Examples
Sub HighlightExample()
Dim SBar As StatusBar
SBar = DTE.StatusBar
SBar.Text = "Status Bar testing message."
SBar.Highlight(True)
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.