GetDefaultIcon method

Returns the default icon for a specified type of item.

Syntax


C++

HRESULT GetDefaultIcon(
   ERUIconCategory Category,
   IERUIcon** ppIcon)

Scripting languages
Set icon = Object.GetDefaultIcon(
   Category as ERUIconCategory)

Parameters


Category

The type of item whose default icon you want to get. The value of this parameter is taken from the ERUIconCategory enumeration.

ppIcon

Upon return, an IERUIcon interface pointer to the requested object.

Return value


C++

The return code.

Scripting languages

An IERUIcon interface pointer to the requested object.

 

Home

Applies to

IERUFacility