C# Class SystemEx.FileIcon

Enables extraction of icons for any file type from the Shell.
Datei anzeigen Open project: pvginkel/SystemEx Class Usage Examples

Public Methods

Method Description
FileIcon ( ) : System

Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon.

FileIcon ( string fileName ) : System

Constructs a new instance of the FileIcon class and retrieves the icon, display name and type name for the specified file.

FileIcon ( string fileName, FileInfoOptions flags ) : System

Constructs a new instance of the FileIcon class and retrieves the information specified in the flags.

GetInfo ( ) : void

Gets the information for the specified file name and flags.

Method Details

FileIcon() public method

Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon.
public FileIcon ( ) : System
return System

FileIcon() public method

Constructs a new instance of the FileIcon class and retrieves the icon, display name and type name for the specified file.
public FileIcon ( string fileName ) : System
fileName string The filename to get the icon, /// display name and type name for
return System

FileIcon() public method

Constructs a new instance of the FileIcon class and retrieves the information specified in the flags.
public FileIcon ( string fileName, FileInfoOptions flags ) : System
fileName string The filename to get information /// for
flags FileInfoOptions The flags to use when extracting the /// icon and other shell information.
return System

GetInfo() public method

Gets the information for the specified file name and flags.
public GetInfo ( ) : void
return void