Returns the icon index of the passed special folder.
| C# | Visual Basic | Visual C++ |
public static int GetIndexFromItemIdList( ItemIdList aItemIdList, bool Opened, SystemImageListSize Size )
Public Shared Function GetIndexFromItemIdList ( _ aItemIdList As ItemIdList, _ Opened As Boolean, _ Size As SystemImageListSize _ ) As Integer
public: static int GetIndexFromItemIdList( ItemIdList^ aItemIdList, bool Opened, SystemImageListSize Size )
- aItemIdList (ItemIdList)
- A Shell ItemIdList.
- Opened (Boolean)
- true, if the icon should be returned open, like it is often used for the selected item in a treeview.
- Size (SystemImageListSize)
- The size of the icon.
The index of the corresponding icon in the system image list.