StatusBar.Text Property
Sets or gets the selected text.
Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)
Assembly: EnvDTE (in envdte.dll)
The Text property is the default property for the StatusBar object.
When the Text property is read, the text in the selected text is returned, and the selection itself is unchanged.
When the Text property is set, the value is inserted in front of the selected text, and then collapsed, similar to what happens when text is pasted into a document. Note that this property behaves just as when typing when the editor is in insert (that is, non-overtype) mode. Any text after the 128th character is truncated.