INameSpaceTreeControl2::RemoveAllRoots Method

Removes all roots and their children from a tree.

Syntax

HRESULT RemoveAllRoots(VOID);

Return Value

Returns S_OK if successful, or an error value otherwise.