Method icon.of
Overload
Gets icon that can be displayed for a file, folder, shell object, URL or file type.
public static icon of(string file, int size = 16, IconGetFlags flags = 0)
Parameters
file (string)
Can be:
|
size (int)
Icon width and height. Default 16. |
flags (IconGetFlags) |
Returns
icon
|
Remarks
ITEMIDLIST can be of any file, folder, URL or a non-filesystem shell object. See Pidl.ToHexString.