Help Center

Shortcut.IconLocationproperty

Assigns a an icon to a shortcut, or identifies the icon assigned to a shortcut.

WindowspropertyCShortcut.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

PROPERTY IconLocation () AS DWSTRING
PROPERTY IconLocation (BYREF wszIconLocation AS WSTRING)

Parameters

NameDescription
wszIconLocationA string that locates the icon. The string should contain a fully qualified path and an index associated with the icon.

Return value

The location of the icon.

Description

Assigns a an icon to a shortcut, or identifies the icon assigned to a shortcut.

Reference

  • Include file CShortcut.inc
  • Documented in Windows/Windows Script/Shortcut Classes.md
  • Topic: Shortcut Classes