SystemImageListHelperGetFileIcon Method |
Note: This API is now obsolete.
Returns the Icon for the specified filePath.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.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
)
<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 Icon
public:
[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
- 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:
IconThe icon of the specified path with the given parameters.
See Also