Sets (updates or inserts) specified media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- mediaFile
- Type: CMS.MediaLibrary MediaFileInfo
Media file to set
- ensureUniqueFileName (Optional)
- Type: System Boolean
Indicates if unique file name should be ensured
- userId (Optional)
- Type: System Int32
ID of the user performing set action
See Also