Determines whether the file with the specified extension (case insensitive) can be uploaded into library module on site specified by name.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- extension
- Type: System String
File extension to check
- siteName (Optional)
- Type: System String
File extension to check
Return Value
Type: BooleanSee Also