IVsStatusbar.FreezeOutput Method
Inhibits updates to the status text area.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣告
Function FreezeOutput ( _
fFreeze As Integer _
) As Integer
'用途
Dim instance As IVsStatusbar
Dim fFreeze As Integer
Dim returnValue As Integer
returnValue = instance.FreezeOutput(fFreeze)
int FreezeOutput(
int fFreeze
)
int FreezeOutput(
[InAttribute] int fFreeze
)
abstract FreezeOutput :
fFreeze:int -> int
function FreezeOutput(
fFreeze : int
) : int
Parameters
- fFreeze
Type: System.Int32
[in] true tells the environment to place a freeze on the status bar. No further updates can be made until the freeze is released. false releases the freeze.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsStatusbar::FreezeOutput(
[in] BOOL fFreeze
);
You can make multiple calls to FreezeOutput, that is, status bar freezes can be nested. Each nested call must be matched with a call to release the corresponding freeze. Call GetFreezeCount to retrieve the current number of freezes in effect.
.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.