FolderView.GetSelectionState 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
Syntaxpublic SVSIF? GetSelectionState(
Item item,
bool throwOnError = true
)
Parameters
- item
- Type: callback.ShellBoost.Core.WindowsShell.Item
The item. - throwOnError (Optional)
- Type: System.Boolean
true to throw error; otherwise false.
Return Value
Type:
Nullable<SVSIF>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
See Also