Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Public Function TakeOwnership ( _
proposedOwner As SharedStatusBarOwner _
) As Boolean
public bool TakeOwnership(
SharedStatusBarOwner proposedOwner
)
public:
virtual bool TakeOwnership(
SharedStatusBarOwner^ proposedOwner
) sealed
abstract TakeOwnership :
proposedOwner:SharedStatusBarOwner -> bool
override TakeOwnership :
proposedOwner:SharedStatusBarOwner -> bool
public final 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; false if another object owns the status bar.
Implements
ISharedStatusBar.TakeOwnership(SharedStatusBarOwner)
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.