Skip to main content

GetObjectTypeIconURL

Description

Gets the URL of the icon for the specified object type.

Syntax

// shellUI points to instance of IShellUI
const result = await shellUI.GetObjectTypeIconURL(objtype);

Parameters

NameTypeDescription
objtypenumberObject type ID.

Return type

TypeDescription
Promise < string >the icon URL.