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 | Optionality | Type | Description |
|---|---|---|---|
| fileName | Required | string | Name or extension of the file. |
Return type
| Type | Description |
|---|---|
Promise < string > | URL of the icon. |