共用方式為


SharedStatusBar.GetText 方法

擷取目前的狀態列文字。

命名空間:  Microsoft.VisualStudio.Data.Schema.Package.UI
組件:  Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

語法

'宣告
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

參數

傳回值

型別:System.Int32

實作

ISharedStatusBar.GetText(SharedStatusBarOwner, String%)

.NET Framework 安全性

請參閱

參考

SharedStatusBar 類別

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空間