ImageHelperIsImage Method |
Determines whether it is an image extension or not. Accepts extensions in both formats ".gif", and "gif"
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static bool IsImage(
string extension
)
Parameters
- extension
- Type: SystemString
File extension to check
Return Value
Type:
Boolean
See Also