Click or drag to resize

CoreShellFolderCompareIds Method (Int64, IWithIdList, IWithIdList, Boolean)

Determines the relative order of two file objects or folders.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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: ShellBoost.CoreIWithIdList
The first identifier list.
idList2
Type: 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