Freigeben über


IVsStatusbar.GetText Method

Retrieves the current status bar text.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function GetText ( _
    <OutAttribute> ByRef pszText As String _
) As Integer
'Usage
Dim instance As IVsStatusbar
Dim pszText As String
Dim returnValue As Integer

returnValue = instance.GetText(pszText)
int GetText(
    out string pszText
)
int GetText(
    [OutAttribute] String^% pszText
)
abstract GetText : 
        pszText:string byref -> int 
function GetText(
    pszText : String
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsStatusbar::GetText(
   [out]BSTR *pszText
);

.NET Framework Security

See Also

Reference

IVsStatusbar Interface

IVsStatusbar Members

Microsoft.VisualStudio.Shell.Interop Namespace