Checks if the extension is within the given list of allowed extensions.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- extension
- Type: System String
Extension to check
- allowedExtensions
- Type: System String
List of allowed extensions separated by semicolon, e.g. "jpg;png"
Return Value
Type: BooleanSee Also