Click or drag to resize
UIHelperGetDocumentTypeIconUrl Method (Page, String, Boolean)
Returns resolved path to the icon image for the specified document type.

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