Click or drag to resize

FolderViewSelectItems Method (IEnumerableShellItemIdList, SVSIF, Boolean)

Allows the selection and positioning of items visible in the folder's view.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int SelectItems(
	IEnumerable<ShellItemIdList> pidls,
	SVSIF flags = SVSIF.SVSI_SELECT,
	bool throwOnError = true
)

Parameters

pidls
Type: System.Collections.GenericIEnumerableShellItemIdList
The pidls.
flags (Optional)
Type: ShellBoost.Core.WindowsShellSVSIF
One of the SVSIF constants that specify the type of selection to apply.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
See Also