MimeTypeHelperGetExtension Method |
Gets the extension by mime type.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static string GetExtension(
string mimetype,
string defaultValue = ""
)
Parameters
- mimetype
- Type: SystemString
Mimetype - defaultValue (Optional)
- Type: SystemString
Default value when extension is not found
Return Value
Type:
StringSee Also