Click or drag to resize

FolderViewGetSelectedItem Method

Gets the currently selected item at or after a given index.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public Item GetSelectedItem(
	int startIndex,
	bool throwOnError = true
)

Parameters

startIndex
Type: SystemInt32
The start index.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Item
An instance of the Item class or null.
See Also