Click or drag to resize

View.SelectItem Method (ShellItemIdList, SVSIF, Nullable<POINT>, Boolean)

Selects and optionally positions an item in a Shell View.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int SelectItem(
	ShellItemIdList idList,
	SVSIF flags = SVSIF.SVSI_SELECT,
	POINT? newPosition = null,
	bool throwOnError = true
)

Parameters

idList
Type: callback.ShellBoost.Core.ShellItemIdList
The Shell Item's relative pidl.
flags (Optional)
Type: callback.ShellBoost.Core.WindowsShell.SVSIF
The options.
newPosition (Optional)
Type: System.Nullable<POINT>
The new position or null.
throwOnError (Optional)
Type: System.Boolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
See Also