ShellListViewCompare Method |
Compares two ShellListItem objects with their ItemIdList with each other.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public override int Compare(
Object x,
Object y
)
Public Overrides Function Compare (
x As Object,
y As Object
) As Integer
public:
virtual int Compare(
Object^ x,
Object^ y
) override
abstract Compare :
x : Object *
y : Object -> int
override Compare :
x : Object *
y : Object -> int
Parameters
- x
- Type: SystemObject
First ShellListItem. - y
- Type: SystemObject
Second ShellListItem, which will be compared with first one.
Return Value
Type:
Int32
Returns a value less than 0 if x is less than y, 0 if x is equal to y and a value greater
than 0 if x is greater than y.
Implements
IComparerCompare(Object, Object)Remarks User added columns will be compared by the item's SubItem strings at the SortColumn index.
See Also