Version

SortByPosition Method

Sorts the SelectedNodes collection such that members appear in the same order that they do in the tree.
Syntax
'Declaration
 
Public Sub SortByPosition() 
public void SortByPosition()
Remarks

By default, the nodes in the SelectedNodes collection are in the order in which they were added to the collection. This generally means they are in the order in which they were Selected.

Calling the SortByPosition method will sort the TreeNodes so that they are in the same order as they appear in the UltraTree.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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