共用方式為


IVsStatusbar.FreezeOutput(Int32) Method

Definition

Inhibits updates to the status text area.

public:
 int FreezeOutput(int fFreeze);
public:
 int FreezeOutput(int fFreeze);
int FreezeOutput(int fFreeze);
public int FreezeOutput (int fFreeze);
abstract member FreezeOutput : int -> int
Public Function FreezeOutput (fFreeze As Integer) As Integer

Parameters

fFreeze
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.

Returns

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.

Applies to