Click or drag to resize

SystemImageListHelperGetFileIcon Method

Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle

Returns the Icon for the specified filePath.

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
[ObsoleteAttribute("Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle")]
public static Icon GetFileIcon(
	string pName,
	SystemImageListSize pSize,
	bool pLinkOverlay
)

Parameters

pName  String
full path of the file
pSize  SystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
pLinkOverlay  Boolean
if true icons include the links overlay

Return Value

Icon
The icon of the specified path with the given parameters.
See Also