Click or drag to resize

NamespaceTreeControlGetItemState Method (Item, NSTCITEMSTATE)

Gets state information about a Shell item.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public NSTCITEMSTATE? GetItemState(
	Item item,
	NSTCITEMSTATE mask = NSTCITEMSTATE.NSTCIS_SELECTED|NSTCITEMSTATE.NSTCIS_EXPANDED|NSTCITEMSTATE.NSTCIS_BOLD|NSTCITEMSTATE.NSTCIS_DISABLED|NSTCITEMSTATE.NSTCIS_SELECTEDNOEXPAND
)

Parameters

item
Type: callback.ShellBoost.Core.WindowsShellItem
The item.
mask (Optional)
Type: callback.ShellBoost.Core.WindowsShellNSTCITEMSTATE
Specifies which information is being requested, in the form of a bitmap. One or more of the NSTCITEMSTATE constants.

Return Value

Type: NullableNSTCITEMSTATE
Contains the values requested in mask or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is null.
See Also