SystemIcons.IHandler

References
public interface SystemIcons.IHandler
Handler interface for the SystemIcons methods

Methods

Get

#
Gets a static system-defined icon for the specified type.
type (SystemIconType)Type of the static icon to retrieve.
size (SystemIconSize)Size of the icon.
The static icon for the specified type.

GetFileIcon

#
Icon GetFileIcon(string fileName, SystemIconSize size)
Gets a file icon for the specified file
Remarks: The file does not necessarily have to exist for the icon to be retrieved, though if it is a specific file then the platform may be able to return a file-specific icon if one is available.
fileName (string)Name of the file to get the icon for.
size (SystemIconSize)Size of the icon.
The icon for the specified file name.