ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellControls.TJamShellTreeNode.Compare

Compares a given TJamShellTreeNode with this object

Syntax
Pascal
function Compare(pNode: TJamShellTreeNode; pShellBrowser: TShellBrowser = nil): HRESULT; overload;
Parameters 
Description 
pNode: TJamShellTreeNode 
The TJamShellTreeNode that should be compared. 
pShellBrowser: TShellBrowser = nil 
An optional ShellBrowser that is used for faster sorting. 

HRESULT: 0 if both are equal, a value larger than 0 if pNode is larger than this instance, a value smaller than 0 otherwise.