Compartir a través de


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
int GetText(
    out string pszText
)
int GetText(
    [OutAttribute] String^% pszText
)
abstract GetText : 
        pszText:string byref -> int
function GetText(
    pszText : String
) : int

Parameters

  • pszText
    Type: String%

    [out] Current status bar text.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace