Click or drag to resize

NamespaceTreeControlGetItemState Method (Item, NSTCITEMSTATE)

Gets state information about a Shell item.

Namespace:  ShellBoost.Core.WindowsShell
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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: ShellBoost.Core.WindowsShellItem
The item.
mask (Optional)
Type: 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