ObjectHelper GetObjectIconPath Method (Page, String, String, Boolean, Boolean, String )Kentico 8.1 API Reference
Gets the icon for the given object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

page
Type: OnlineSystem.Web.UI Page
Page
objectType
Type: OnlineSystem String
Object type constant
iconName
Type: OnlineSystem String
Icon name (e.g. list.png)
isLiveSite
Type: OnlineSystem Boolean
Indicates if URL should be returned for live site
ensureDefaultTheme
Type: OnlineSystem Boolean
Indicates if default theme should be always used
usedObjectType
Type: OnlineSystem String 
Object type which has been eventually used to get the icon (this will be usually the given object type, but for inherited object types this can be their parent object type)

Return Value

Type: OnlineString
See Also