SharedStatusBar.SetText 方法

设置文本区域中的状态栏文本。

命名空间:  Microsoft.VisualStudio.Data.Schema.Package.UI
程序集:  Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)

语法

声明
Public Function SetText ( _
    possibleOwner As SharedStatusBarOwner, _
    pszText As String _
) As Boolean
public bool SetText(
    SharedStatusBarOwner possibleOwner,
    string pszText
)
public:
virtual bool SetText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ pszText
) sealed
abstract SetText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string -> bool 
override SetText : 
        possibleOwner:SharedStatusBarOwner * 
        pszText:string -> bool 
public final function SetText(
    possibleOwner : SharedStatusBarOwner, 
    pszText : String
) : boolean

参数

  • pszText
    类型:System.String
    要在状态文本区域中显示的文本。

返回值

类型:System.Boolean

实现

ISharedStatusBar.SetText(SharedStatusBarOwner, String)

.NET Framework 安全性

请参见

参考

SharedStatusBar 类

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