MimeTypeHelperGetMimetype Method (String, String) |
Gets the mimetype by extension.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetMimetype(
string extension,
string defaultValue
)
Parameters
- extension
- Type: SystemString
Extension - defaultValue
- Type: SystemString
Default value when extension is not found
Return Value
Type:
StringSee Also