SystemImageListGetIconIndex Method (ItemIdList, Boolean) |
Gets the index of the icon of the passed ItemIdList.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax public static int GetIconIndex(
ItemIdList pItemIdList,
bool pOpened
)
Public Shared Function GetIconIndex (
pItemIdList As ItemIdList,
pOpened As Boolean
) As Integer
public:
static int GetIconIndex(
ItemIdList^ pItemIdList,
bool pOpened
)
static member GetIconIndex :
pItemIdList : ItemIdList *
pOpened : bool -> int
Parameters
- pItemIdList
- Type: Jam.ShellItemIdList
The absolute ItemIdList of the element. - pOpened
- Type: SystemBoolean
true, if the icon should be returned open, like it is often used for the
selected node in treeviews.
Return Value
Type:
Int32The index of the corresponding icon in the system image list.
See Also