ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
JamItemIdList.TJamItemIdList.CompareTo

Compares the given ItemIdList to this instance by their name

Syntax
Pascal
function CompareTo(const pItemIdList2: IItemIdList; pComparison: TItemIdListComparison = ilcDisplay): HRESULT;
Parameters 
Description 
const pItemIdList2: IItemIdList 
The ItemIdList that should be compared 
pComparison: TItemIdListComparison = ilcDisplay 
Optional: The comparsion to perform. Per default the ItemIdLists are compared by display name. 

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