Click or drag to resize

FolderViewSelectItems Method (IEnumerableItem, SVSIF, Boolean)

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

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

Parameters

pidls
Type: System.Collections.GenericIEnumerableItem
The pidls.
flags (Optional)
Type: callback.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