ShellBrowser Delphi Components Documentation
|
Compares a given ItemIdList with this item based on the current TJamShellList.SortColumn.
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 |
Option: The ShellIndex by which the two items should be compared. When passing -1 (the default value) the value of the TJamShellList.SortColumn property will be used. |
Integer: 0 if both are equal, a value larger than 0 if pRelativeItemIdList is larger than this instance, a value smaller than 0 otherwise.
Exceptions |
Description |
Raises an EOSError if the comparison fails. |