Click or drag to resize

SystemImageListHelperGetSpecialFolderIcon Method (EnvironmentSpecialFolder, Boolean)

Returns the icon index of the passed special folder.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.0
Syntax
public static int GetSpecialFolderIcon(
	EnvironmentSpecialFolder pSpecialFolder,
	bool pOpened
)

Parameters

pSpecialFolder
Type: SystemEnvironmentSpecialFolder
A constant from EnvironmentSpecialFolder
pOpened
Type: SystemBoolean
true, if the icon should be returned open, like it is often used for the selected item in a treeview.

Return Value

Type: Int32
The index of the corresponding icon in the system image list.
See Also