Click or drag to resize

FolderCompareRelativeIdLists Method (ShellItemIdList, ShellItemIdList, SHCIDS, Boolean)

Determines the relative order of two file objects or folders, in this folder, given their item identifier lists.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int CompareRelativeIdLists(
	ShellItemIdList relativeIdList1,
	ShellItemIdList relativeIdList2,
	SHCIDS comparison = SHCIDS.SHCIDS_NONE,
	bool throwOnError = true
)

Parameters

relativeIdList1
Type: callback.ShellBoost.CoreShellItemIdList
The first relative pidl.
relativeIdList2
Type: callback.ShellBoost.CoreShellItemIdList
The second relative pidl.
comparison (Optional)
Type: callback.ShellBoost.Core.WindowsShellSHCIDS
Specifies how the comparison should be performed.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
A negative return value indicates that the first item should precede the second (relativeIdList1 < relativeIdList2). A positive return value indicates that the first item should follow the second (relativeIdList1 > relativeIdList2). A return value of zero indicates that the two items are the same (relativeIdList1 = relativeIdList2).
See Also