WebDAVHelperIsCMSFileExtensionAllowed Method |
Checks if specified extension is allowed.
Namespace: CMS.WebDAVAssembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 9.0.0
Syntax public static bool IsCMSFileExtensionAllowed(
FormFieldInfo formFieldInfo,
string extension
)
Parameters
- formFieldInfo
- Type: CMS.FormEngineFormFieldInfo
Form field info - extension
- Type: SystemString
File extension
Return Value
Type:
BooleanTRUE if extension is allowed
See Also