FileIcon Class
Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.942+a011233
Enables extraction of icons for any file type from the Shell.
[ExcludeFromCodeCoverage]
public class FileIcon
Inheritance: object → FileIcon
Attributes: ExcludeFromCodeCoverageAttribute
Constructors
Name | Description |
---|---|
FileIcon() | Constructs a new, default instance of the FileIcon class. Specify the filename and call GetInfo() to retrieve an icon. |
FileIcon(string) | Constructs a new instance of the FileIcon class and retrieves the icon, display name and type name for the specified file. |
FileIcon(string, FileIcon.SHGetFileInfoConstants) | Constructs a new instance of the FileIcon class and retrieves the information specified in the flags. |
Properties
Name | Description |
---|---|
DisplayName | Gets the display name for the selected file if the SHGFI_DISPLAYNAME flag was set. |
FileName | Gets/sets the filename to get the icon for |
Flags | Gets/sets the flags used to extract the icon |
ShellIcon | Gets the icon for the chosen file |
TypeName | Gets the type name for the selected file if the SHGFI_TYPENAME flag was set. |
Nested Types
Name | Description |
---|---|
FileIcon.SHGetFileInfoConstants |
Documentation generated by MdDocs