Click or drag to resize
MediaFileInfoProviderDeleteMediaFileInfo Method (MediaFileInfo)

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(
	MediaFileInfo infoObj
)

Parameters

infoObj
Type: CMS.MediaLibraryMediaFileInfo
Media file object
See Also