Click or drag to resize

FolderViewGetSelectionState Method

Gets the selection state including check state.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public SVSIF? GetSelectionState(
	Item item,
	bool throwOnError = true
)

Parameters

item
Type: ShellBoost.Core.WindowsShellItem
The item.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: NullableSVSIF
Null or zero or one of the following SVSIF constants that specify the current type of selection: SVSI_FOCUSED, SVSI_SELECT, SVSI_CHECK, or SVSI_CHECK2. Other constants are not returned by this method.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also