Click or drag to resize
MediaFileInfoProviderGetMediaFileInfo Method (Int32)

Note: This API is now obsolete.

Returns the MediaFileInfo structure for the specified media file.

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

Parameters

mediaFileId
Type: SystemInt32
Media file ID

Return Value

Type: MediaFileInfo
See Also