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 命名空间