ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.Controls.BaseShellListView.TJamFileListItem.Compare

Compares a given ItemIdList with this item based on the current TJamCustomFileList.SortColumn.

Syntax
Pascal
function Compare(const pRelativeItemIdList: IItemIdList; pShellIndex: Integer = -1): integer; override; overload;
Parameters 
Description 
const pRelativeItemIdList: IItemIdList 
The relative ItemIdList that should be compared to this item. 
pShellIndex: Integer = -1 
Column position to be sorted by. If -1 according to TJamCustomFileList.SortColumn 

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