UIHelperGetDocumentTypeIconUrl Method (Page, String, String, Boolean, Boolean) |
Returns resolved path to the icon image for the specified document type.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntaxpublic 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:
String
See Also