This documentation is archived and is not being maintained.

IVsLiteTree.SetRedraw Method

Set or reset redrawing of the tree list.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int SetRedraw (
	[InAttribute] int fOn
int SetRedraw (
	/** @attribute InAttribute() */ int fOn
function SetRedraw (
	fOn : int
) : int



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

Return Value

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

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

COM Signature


From vsshell.idl:

HRESULT IVsLiteTree::SetRedraw(
   [in] BOOL fOn