SharedStatusBar.ReleaseOwnership 方法
释放状态栏的所有权。 如果 possibleOwner 为实际所有者,则返回 true。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.UI
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Sub ReleaseOwnership ( _
possibleOwner As SharedStatusBarOwner _
)
public void ReleaseOwnership(
SharedStatusBarOwner possibleOwner
)
public:
virtual void ReleaseOwnership(
SharedStatusBarOwner^ possibleOwner
) sealed
abstract ReleaseOwnership :
possibleOwner:SharedStatusBarOwner -> unit
override ReleaseOwnership :
possibleOwner:SharedStatusBarOwner -> unit
public final function ReleaseOwnership(
possibleOwner : SharedStatusBarOwner
)
参数
- possibleOwner
类型:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
释放所有权的对象。
实现
ISharedStatusBar.ReleaseOwnership(SharedStatusBarOwner)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。