Click or drag to resize

SystemImageListHelperGetFileIcon Method

Note: This API is now obsolete.

Returns the Icon for the specified filePath.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
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
Type: SystemString
full path of the file
pSize
Type: Jam.ShellSystemImageListSize
If set to SystemImageListSize.SmallIcons small icons are returned, large icons in all other cases
pLinkOverlay
Type: SystemBoolean
if true icons include the links overlay

Return Value

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