MediaFileInfoProviderSetMediaFileInfoInternal Method |
Sets MediaFileInfo internal.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax protected virtual void SetMediaFileInfoInternal(
MediaFileInfo mediaFile,
bool saveFileToDisk,
int userId,
bool ensureUniqueFileName
)
Parameters
- mediaFile
- Type: CMS.MediaLibraryMediaFileInfo
Media file info - saveFileToDisk
- Type: SystemBoolean
Save file to disk - userId
- Type: SystemInt32
ID of the user performing set action - ensureUniqueFileName
- Type: SystemBoolean
Indicates if unique file name should be ensured
See Also