Click or drag to resize

CoreShellFolderCompareIds Method (Int64, IWithIdList, IWithIdList, Boolean)

Determines the relative order of two file objects or folders.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int CompareIds(
	long lParam,
	IWithIdList idList1,
	IWithIdList idList2,
	bool throwOnError = true
)

Parameters

lParam
Type: SystemInt64
Specifies how the comparison should be performed.
idList1
Type: callback.ShellBoost.CoreIWithIdList
The first identifier list.
idList2
Type: callback.ShellBoost.CoreIWithIdList
The second identifier list.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
A negative value indicates that the first item should precede the second, a positive return value indicates that the first item should follow the second and zero indicates that the two items are the same.
See Also