ISharedStatusBar.SetText 方法

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

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

语法

声明
Function SetText ( _
    possibleOwner As SharedStatusBarOwner, _
    text As String _
) As Boolean
bool SetText(
    SharedStatusBarOwner possibleOwner,
    string text
)
bool SetText(
    SharedStatusBarOwner^ possibleOwner, 
    String^ text
)
abstract SetText : 
        possibleOwner:SharedStatusBarOwner * 
        text:string -> bool 
function SetText(
    possibleOwner : SharedStatusBarOwner, 
    text : String
) : boolean

参数

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

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

ISharedStatusBar 接口

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