Click or drag to resize
MediaFileInfoProviderImportMediaFileInfo Method
Import media file into database.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
public static void ImportMediaFileInfo(
	MediaFileInfo mediaFile,
	int userId = 0
)

Parameters

mediaFile
Type: CMS.MediaLibraryMediaFileInfo
Media file to import
userId (Optional)
Type: SystemInt32
ID of the user performing set action
See Also