ISharedStatusBar.TakeOwnership 方法

取得状态栏的所有权。

命名空间:  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

参数

返回值

类型:System.Boolean
如果取得所有权,则为 true。

备注

如果 proposedOwner 成为实际所有者,则返回 true。

.NET Framework 安全性

请参见

参考

ISharedStatusBar 接口

Microsoft.VisualStudio.Data.Schema.Package.UI 命名空间