Click or drag to resize

FolderViewSelectItem Method

Selects an item in the view.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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: 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