SharedStatusBar.GetText Method
Retrieves the current status bar text.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Function GetText ( _
possibleOwner As SharedStatusBarOwner, _
<OutAttribute> ByRef pszText As String _
) As Integer
public int GetText(
SharedStatusBarOwner possibleOwner,
out string pszText
)
public:
virtual int GetText(
SharedStatusBarOwner^ possibleOwner,
[OutAttribute] String^% pszText
) sealed
abstract GetText :
possibleOwner:SharedStatusBarOwner *
pszText:string byref -> int
override GetText :
possibleOwner:SharedStatusBarOwner *
pszText:string byref -> int
public final function GetText(
possibleOwner : SharedStatusBarOwner,
pszText : String
) : int
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%
Current status bar text.
Return Value
Type: System.Int32
Implements
ISharedStatusBar.GetText(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.