UIHelperGetDocumentTypeIconUrl Method (Page, String, Boolean) |
Returns resolved path to the icon image for the specified document type.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string GetDocumentTypeIconUrl(
Page page,
string className,
bool checkFile
)
Parameters
- page
- Type: System.Web.UIPage
Page - className
- Type: SystemString
Name of the class - checkFile
- Type: SystemBoolean
Indicates if the required icon exists in the filesystem
Return Value
Type:
StringSee Also