Click or drag to resize

ViewSelectItem Method (Item, SVSIF, NullablePOINT, Boolean)

Selects and optionally positions an item in a Shell View.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int SelectItem(
	Item item,
	SVSIF flags = SVSIF.SVSI_SELECT,
	POINT? newPosition = null,
	bool throwOnError = true
)

Parameters

item
Type: ShellBoost.Core.WindowsShellItem
The Shell Item.
flags (Optional)
Type: ShellBoost.Core.WindowsShellSVSIF
The options.
newPosition (Optional)
Type: SystemNullablePOINT
The new position or null.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
An error number or 0.
See Also