SystemImageListGetSpecialFolderIcon Method (ShellFolder, Boolean) |
Returns the icon index of the passed special folder.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static int GetSpecialFolderIcon(
ShellFolder pSpecialFolder,
bool pOpened
)
Public Shared Function GetSpecialFolderIcon (
pSpecialFolder As ShellFolder,
pOpened As Boolean
) As Integer
public:
static int GetSpecialFolderIcon(
ShellFolder pSpecialFolder,
bool pOpened
)
static member GetSpecialFolderIcon :
pSpecialFolder : ShellFolder *
pOpened : bool -> int
Parameters
- pSpecialFolder
- Type: Jam.ShellShellFolder
A constant from the ShellFolder1 enumeration. - 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