Version

UnregisterNodesManager Method

When a NodesManager is no longer needed, this method should be called, to detach all events that are hooked up. To avoid Memory leaks.
Syntax
'Declaration
 
Protected Friend Overridable Sub UnregisterNodesManager( _
   ByVal removeNodeLayout As Boolean, _
   ByVal clearChildNodesManager As Boolean, _
   ByVal clearSelection As Boolean _
) 
protected internal virtual void UnregisterNodesManager( 
   bool removeNodeLayout,
   bool clearChildNodesManager,
   bool clearSelection
)

Parameters

removeNodeLayout
Whether the NodeLayout should be removed, or just its events.
clearChildNodesManager
Whether the ChildNodesManager should be disposed of on each node.
clearSelection
Whether the selected items should be unselected
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also