This documentation is archived and is not being maintained.

IVsLiteTree.DelayRedraw Method

Indicates whether or not to redraw the tree.

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

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



[in] Boolean. Set to true, prevents redrawing.

Return Value

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


From vsshell.idl

HRESULT IVsLiteTree::DelayRedraw(
   [in] BOOL fOn