Click or drag to resize

FolderViewSelectItem Method

Selects an item in the view.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public int SelectItem(
	int index,
	SVSIF flags = SVSIF.SVSI_SELECT,
	bool throwOnError = true
)

Parameters

index
Type: SystemInt32
The index of the item to select.
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