SystemImageListHelperGetFileIcon Method |
Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle
Returns the Icon for the specified filePath.
Namespace: Jam.ShellAssembly: 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
)<ObsoleteAttribute("Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle")>
Public Shared Function GetFileIcon (
pName As String,
pSize As SystemImageListSize,
pLinkOverlay As Boolean
) As Iconpublic:
[ObsoleteAttribute(L"Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle")]
static Icon^ GetFileIcon(
String^ pName,
SystemImageListSize pSize,
bool pLinkOverlay
)
[<ObsoleteAttribute("Retrieve the icon handle using SystemImageList and convert it using Icon.FromHandle")>]
static member GetFileIcon :
pName : string *
pSize : SystemImageListSize *
pLinkOverlay : bool -> Icon 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
IconThe icon of the specified path with the given parameters.
See Also