GetFileTypeIconURL
Description
Returns the file type icon from the filename extension as data url.
Syntax
// shellUI points to instance of IShellUI
const result = await shellUI.GetFileTypeIconURL(fileName);
Parameters
Name | Type | Description |
---|---|---|
fileName | string | Name or extension of the file. |
Return type
Type | Description |
---|---|
Promise < string > | URL of the icon. |