Flexible TreeView 5.1.9 Help
CompareNodes(Node,Node) Method



First node for compare.
Second node for compare.
Compares two nodes by content that is bound to this node control.
Syntax
'Declaration
 
Public Overloads Overrides Function CompareNodes( _
   ByVal pNode1 As Node, _
   ByVal pNode2 As Node _
) As eCompareResult
'Usage
 
Dim instance As StaticTextControl
Dim pNode1 As Node
Dim pNode2 As Node
Dim value As eCompareResult
 
value = instance.CompareNodes(pNode1, pNode2)
public override eCompareResult CompareNodes( 
   Node pNode1,
   Node pNode2
)
public:
eCompareResult CompareNodes( 
   Node^ pNode1,
   Node^ pNode2
) override 

Parameters

pNode1
First node for compare.
pNode2
Second node for compare.

Return Value

Compare result that defines how the pNode1 will be placed with respect to the pNode2.
Requirements

Target Platforms: 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

Reference

StaticTextControl Class
StaticTextControl Members
Overload List
Base Implementation in CompareNodes

Send Feedback