共用方式為


ISharedStatusBar.GetText 方法

擷取目前的狀態列文字。

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

語法

'宣告
Function GetText ( _
    possibleOwner As SharedStatusBarOwner, _
    <OutAttribute> ByRef theText As String _
) As Integer
int GetText(
    SharedStatusBarOwner possibleOwner,
    out string theText
)
int GetText(
    SharedStatusBarOwner^ possibleOwner, 
    [OutAttribute] String^% theText
)
abstract GetText : 
        possibleOwner:SharedStatusBarOwner * 
        theText:string byref -> int 
function GetText(
    possibleOwner : SharedStatusBarOwner, 
    theText : String
) : int

參數

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

ISharedStatusBar 介面

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