防止更新状态文本区域。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.UI
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Function FreezeOutput ( _
possibleOwner As SharedStatusBarOwner, _
fFreeze As Integer _
) As Integer
public int FreezeOutput(
SharedStatusBarOwner possibleOwner,
int fFreeze
)
public:
virtual int FreezeOutput(
SharedStatusBarOwner^ possibleOwner,
int fFreeze
) sealed
abstract FreezeOutput :
possibleOwner:SharedStatusBarOwner *
fFreeze:int -> int
override FreezeOutput :
possibleOwner:SharedStatusBarOwner *
fFreeze:int -> int
public final function FreezeOutput(
possibleOwner : SharedStatusBarOwner,
fFreeze : int
) : int
参数
- possibleOwner
类型:Microsoft.VisualStudio.Data.Schema.Package.UI.SharedStatusBarOwner
状态栏的所有者。如果不是所有者,则不会发生任何操作。
- fFreeze
类型:System.Int32
如果为 true,则通知环境在状态栏上设置冻结。在释放冻结之前,无法再进行更新。如果为 false,则释放冻结。
返回值
类型:System.Int32
实现
ISharedStatusBar.FreezeOutput(SharedStatusBarOwner, Int32)
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。