Click or drag to resize
MediaFileInfoProviderDeleteMediaFileInfo Method (Int32)

Note: This API is now obsolete.

Deletes specified media file.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMediaFileInfoProvider.Delete(MediaFileInfo) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MediaFileInfo.Provider.")]
public static void DeleteMediaFileInfo(
	int mediaFileId
)

Parameters

mediaFileId
Type: SystemInt32
Media file ID
See Also