SystemImageListGetSpecialFolderIcon(ShellFolder, Boolean) Method |
Returns the icon index of the passed special folder.
Namespace: Jam.ShellAssembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntaxpublic 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 ShellFolder
- A constant from the ShellFolder1 enumeration.
- pOpened Boolean
- true, if the icon should be returned open, like it is often used for the selected item in a treeview.
Return Value
Int32The index of the corresponding icon in the system image list.
See Also