ObjectHelperGetObjectIconPath Method (Page, String, String, Boolean, Boolean) |
Note: This API is now obsolete.
Gets the icon for the given object type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("Use font icons instead.")]
public static string GetObjectIconPath(
Page page,
string objectType,
string iconName,
bool isLiveSite,
bool ensureDefaultTheme
)
Parameters
- page
- Type: System.Web.UIPage
Page - objectType
- Type: SystemString
Object type constant - iconName
- Type: SystemString
Icon name (e.g. list.png) - isLiveSite
- Type: SystemBoolean
Indicates if URL should be returned for live site - ensureDefaultTheme
- Type: SystemBoolean
Indicates if default theme should be always used
Return Value
Type:
StringSee Also