Click or drag to resize
ObjectHelperGetObjectIconPath Method (Page, String, String, Boolean, Boolean)

Note: This API is now obsolete.

Gets the icon for the given object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
[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: String
See Also