ISharedStatusBar.SetText Method
Sets the status bar text in the text area.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Function SetText ( _
possibleOwner As SharedStatusBarOwner, _
text As String _
) As Boolean
bool SetText(
SharedStatusBarOwner possibleOwner,
string text
)
bool SetText(
SharedStatusBarOwner^ possibleOwner,
String^ text
)
abstract SetText :
possibleOwner:SharedStatusBarOwner *
text:string -> bool
function SetText(
possibleOwner : SharedStatusBarOwner,
text : String
) : boolean
Parameters
- possibleOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The owner of the status bar. If not the owner, nothing will happen.
- text
Type: System.String
The text to display in the status text area.
Return Value
Type: System.Boolean
.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.