Checks if file extension is allowed for browse mode.
Namespace: CMS.WebDAVAssembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- extension
- Type: System String
File extension
- formFieldInfo
- Type: CMS.FormEngine FormFieldInfo
Form field info
- siteName
- Type: System String
Site name
- mediaFile (Optional)
- Type: System Boolean
Indicate whether you are checking for media-file or not (Parameter is optional to keep backward compatibility in API)
Return Value
Type: BooleanSee Also