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
参数
- possibleOwner
类型:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
状态栏的所有者。如果不是所有者,则不会发生任何操作。
- text
类型:System.String
要在状态文本区域中显示的文本。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。