SystemImageListHelperGetSpecialFolderIcon Method (EnvironmentSpecialFolder, Boolean) |
Returns the icon index of the passed special folder.
Namespace:
Jam.Shell
Assembly:
ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax public static int GetSpecialFolderIcon(
EnvironmentSpecialFolder pSpecialFolder,
bool pOpened
)
Public Shared Function GetSpecialFolderIcon (
pSpecialFolder As EnvironmentSpecialFolder,
pOpened As Boolean
) As Integer
public:
static int GetSpecialFolderIcon(
EnvironmentSpecialFolder pSpecialFolder,
bool pOpened
)
static member GetSpecialFolderIcon :
pSpecialFolder : EnvironmentSpecialFolder *
pOpened : bool -> int
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:
Int32The index of the corresponding icon in the system image list.
See Also