UIHelperGetDocumentTypeIconUrl Method (Page, String, 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,
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:
String
See Also