ISharedStatusBar.TakeOwnership Method
Takes ownership of the status bar.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
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
Parameters
- proposedOwner
Type: Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
The proposed owner of the status bar.
Return Value
Type: System.Boolean
true if ownership was taken.
Remarks
Returns true if the proposedOwner was made the actual owner.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.