Udostępnij za pośrednictwem


IVsLiteTree.SetRedraw(Int32) Method

Definition

Set or reset redrawing of the tree list.

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

Parameters

fOn
Int32

[In] Boolean. Use true to turn on redrawing; use false to turn off redrawing.

Returns

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

Remarks

Redrawing depends on the reference count and is done only when the reference is zero (0).

COM Signature

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::SetRedraw(  
   [in] BOOL fOn  
);  

Applies to