NamespaceTreeControlGetItemCustomState Method (Item, Int32, Boolean) |
Gets the state of the checkbox associated with a given Shell item.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public int GetItemCustomState(
Item item,
out int state,
bool throwOnError = true
)
Parameters
- item
- Type: ShellBoost.Core.WindowsShellItem
The item. - state
- Type: SystemInt32
The state of the checkbox for the Shell item. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Int32
An error number or 0.
Exceptions See Also