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