This topic has not yet been rated - Rate this topic

StatusBar.Text Property

Sets or gets the selected text.

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

string this { get; set; }
/** @property */
String get_Text ()

/** @property */
void set_Text (/** @attribute InAttribute() */ String pTextc)

function get Text () : String

function set Text (pTextc : String)

Property Value

A string representing the selected text.

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Advertisement