ステータス バーの現在のテキストを取得します。
名前空間: 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
パラメーター
- possibleOwner
型: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
ステータス バーの所有者。所有者でない場合は、何も発生しません。
- pszText
型: System.String%
現在のステータス バーのテキスト。
戻り値
型: System.Int32
実装
ISharedStatusBar.GetText(SharedStatusBarOwner, String%)
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。