UIHelperGetDocumentTypeIconUrl Method (Page, String, String, Boolean, Boolean) |
Returns resolved path to the icon image for the specified document type.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetDocumentTypeIconUrl(
Page page,
string className,
string iconSet = null,
bool checkFile = true,
bool ensureDefaultTheme = true
)
Parameters
- page
- Type: System.Web.UIPage
Page - className
- Type: SystemString
Name of the class - iconSet (Optional)
- Type: SystemString
Name of the subfolder where icon images are located - checkFile (Optional)
- Type: SystemBoolean
Indicates if the required icon exists in the filesystem - ensureDefaultTheme (Optional)
- Type: SystemBoolean
Indicates if default theme should be always used
Return Value
Type:
StringSee Also