Sets (updates or inserts) specified media file.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.1.5347.20411)
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