Udostępnij za pośrednictwem


Metoda IVsStatusbar.GetText — (String)

 

Pobiera bieżący tekst na pasku stanu.

Przestrzeń nazw:   Microsoft.VisualStudio.Shell.Interop
Zestaw:  Microsoft.VisualStudio.Shell.Interop (w Microsoft.VisualStudio.Shell.Interop.dll)

Składnia

int GetText(
    out string pszText
)
int GetText(
    [OutAttribute] String^% pszText
)
abstract GetText : 
        pszText:string byref -> int
Function GetText (
    <OutAttribute> ByRef pszText As String
) As Integer

Parametry

Wartość zwracana

Type: System.Int32

Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.

Uwagi

Podpis COM

Z vsshell.idl:

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

Zobacz też

Interfejs IVsStatusbar
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop

Powrót do początku