Click or drag to resize

FolderViewGetSelectionState Method

Gets the selection state including check state.

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

Parameters

item
Type: callback.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