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​

NameOptionalityTypeDescription
objtypeRequirednumberObject type ID.

Return type​

TypeDescription
Promise < string >the icon URL.

Exceptions​

ArgumentError - When objtype is null or undefined.