WebDAVHelper IsExtensionAllowedForBrowseMode Method (String, FormFieldInfo, String, Boolean)Kentico 8.0 API Reference
Checks if file extension is allowed for browse mode.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

extension
Type: OnlineSystem String
File extension
formFieldInfo
Type: CMS.FormEngine FormFieldInfo
Form field info
siteName
Type: OnlineSystem String
Site name
mediaFile (Optional)
Type: OnlineSystem Boolean
Indicate whether you are checking for media-file or not (Parameter is optional to keep backward compatibility in API)

Return Value

Type: OnlineBoolean
See Also