Click or drag to resize

SystemImageListGetIconIndexForPath Method

Gets icon index for path.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 6.3.1
Syntax
public static int GetIconIndexForPath(
	string pFilePath,
	bool pOpened = false,
	FileAttributes pAttributes = 
)

Parameters

pFilePath
Type: SystemString
Full pathname of the file.
pOpened (Optional)
Type: SystemBoolean
true, if the icon should be returned open, like it is often used for the selected node in treeviews.
pAttributes (Optional)
Type: System.IOFileAttributes
The file attributes that should be used. Usually 0 is passed here.

Return Value

Type: Int32
The icon index for path.
See Also