IVsLiteTree::SetRedraw Method (Int32)

 

Set or reset redrawing of the tree list.

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

int SetRedraw(
	int fOn
)

Parameters

fOn
Type: System::Int32

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

Return Value

Type: System::Int32

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

[C++]

From vsshell.idl:

HRESULT IVsLiteTree::SetRedraw(
   [in] BOOL fOn
);
Return to top
Show: