SetDefaultIcon method

Sets the default icon for a specified type of item.

Syntax


C++

HRESULT SetDefaultIcon(
   ERUIconCategory IconCategory,
   ERUIconType* IconType,
   LONG
IconID
)

Scripting languages
Set icon = Object.SetDefaultIcon(
   IconCategory as ERUIconCategory,
   IconType as IERUIconType,
   IconID as Long)

Parameters


Category

The type of item whose default icon you want to see. The value of the Type property is taken from the ERUIconCategory enumeration.

Icon

An IERUIcon interface pointer to the icon to set as the default.

Return value


C++

The return code.

Scripting languages

None.

 

Home

Applies to

IERUFacility