Skip to main content

FileIcon Constructors

Declaring Type: FileIcon
Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.942+a011233

Overloads

SignatureDescription
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.

FileIcon()

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

public FileIcon();

FileIcon(string)

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);

Parameters

fileName string

The filename to get the icon, display name and type name for

FileIcon(string, FileIcon.SHGetFileInfoConstants)

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

public FileIcon(string fileName, FileIcon.SHGetFileInfoConstants flags);

Parameters

fileName string

The filename to get information for

flags FileIcon.SHGetFileInfoConstants

The flags to use when extracting the icon and other shell information.


Documentation generated by MdDocs