Partager via


IVsLiteTreeEvents.OnSetRedraw(Int32) Method

Definition

Turns redraw on/off.

public:
 int OnSetRedraw(int fOn);
public:
 int OnSetRedraw(int fOn);
int OnSetRedraw(int fOn);
public int OnSetRedraw (int fOn);
abstract member OnSetRedraw : int -> int
Public Function OnSetRedraw (fOn As Integer) As Integer

Parameters

fOn
Int32

[In] Boolean input parameter set to TRUE when Redraw is set to ON and set to FALSE if redraw is set to OFF.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLiteTreeEvents::OnSetRedraw(  
   [in] BOOL fOn  
);  

Applies to