SystemImageListGetIconIndex Method (String, Boolean, FileAttributes) |
Gets the index of the icon of the passed ItemIdList.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax public static int GetIconIndex(
string pFilePath,
bool pOpened,
FileAttributes pAttributes
)
Public Shared Function GetIconIndex (
pFilePath As String,
pOpened As Boolean,
pAttributes As FileAttributes
) As Integer
public:
static int GetIconIndex(
String^ pFilePath,
bool pOpened,
FileAttributes pAttributes
)
static member GetIconIndex :
pFilePath : string *
pOpened : bool *
pAttributes : FileAttributes -> int
Parameters
- pFilePath
- Type: SystemString
Full pathname of the file. - pOpened
- Type: SystemBoolean
true, if the icon should be returned open, like it is often used for the
selected node in treeviews. - pAttributes
- Type: System.IOFileAttributes
The file attributes that should be used. Usually 0 is passed here. If set the file to retrieve the icon for will not be accessed, it need not even exist. Instead the icon is returned based on this parameter.
Return Value
Type:
Int32The index of the corresponding icon in the system image list.
See Also