Dela via


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

Return Value

Type: System.Boolean
true if ownership was taken.

Remarks

Returns true if the proposedOwner was made the actual owner.

.NET Framework Security

See Also

Reference

ISharedStatusBar Interface

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace