ステータス バーの所有権を取得します。
名前空間: Microsoft.VisualStudio.Data.Schema.Package.UI
アセンブリ: Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)
構文
'宣言
Function TakeOwnership ( _
proposedOwner As SharedStatusBarOwner _
) As Boolean
bool TakeOwnership(
SharedStatusBarOwner proposedOwner
)
bool TakeOwnership(
SharedStatusBarOwner^ proposedOwner
)
abstract TakeOwnership :
proposedOwner:SharedStatusBarOwner -> bool
function TakeOwnership(
proposedOwner : SharedStatusBarOwner
) : boolean
パラメーター
- proposedOwner
型: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
提示されたステータス バーの所有者。
戻り値
型: System.Boolean
所有権が取得された場合、true。
解説
possibleOwner が実際の所有者であった場合、true を返します。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。