Click or drag to resize
MediaFileInfoProviderSetMediaFileInfoInternal Method
Sets MediaFileInfo internal.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
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