SharedStatusBar.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
Public Function SetText ( _
possibleOwner As SharedStatusBarOwner, _
pszText As String _
) As Boolean
public bool SetText(
SharedStatusBarOwner possibleOwner,
string pszText
)
public:
virtual bool SetText(
SharedStatusBarOwner^ possibleOwner,
String^ pszText
) sealed
abstract SetText :
possibleOwner:SharedStatusBarOwner *
pszText:string -> bool
override SetText :
possibleOwner:SharedStatusBarOwner *
pszText:string -> bool
public final function SetText(
possibleOwner : SharedStatusBarOwner,
pszText : 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.
- pszText
Type: System.String
The text to display in the status text area.
Return Value
Type: System.Boolean
Implements
ISharedStatusBar.SetText(SharedStatusBarOwner, String)
.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.