FolderCompareAbsoluteIdLists Method (IntPtr, IntPtr, SHCIDS, Boolean) |
Determines the relative order of two file objects or folders, given their absolute item identifier lists.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static int CompareAbsoluteIdLists(
IntPtr idList1,
IntPtr idList2,
SHCIDS comparison = SHCIDS.SHCIDS_NONE,
bool throwOnError = true
)
Parameters
- idList1
- Type: SystemIntPtr
The first absolute PIDL. - idList2
- Type: SystemIntPtr
The second absolute PIDL. - comparison (Optional)
- Type: ShellBoost.Core.WindowsShellSHCIDS
Specifies how the comparison should be performed. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Int32A negative return value indicates that the first item should precede the second (idList1 < idList2).
A positive return value indicates that the first item should follow the second (idList1 > idList2).
A return value of zero indicates that the two items are the same (idList1 = idList2).
See Also