ShellBrowser .Net Edition
GetIndexFromItemIdList Method (aItemIdList, Opened, Size)
NamespacesJam.ShellSystemImageListHelperGetIndexFromItemIdList(ItemIdList, Boolean, SystemImageListSize)
Returns the icon index of the passed special folder.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
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.
Return Value
The index of the corresponding icon in the system image list.

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)