This type contains the following members.

[TypeDiscriminatorAttribute]
public class Media
Inheritance:
ObjectMedia

Constructors

Media(IFileDescriptor, MediaFile)

Properties

FileId The IFileDescriptor id of the corresponding file in file storage.
MediaType The media type (MIME-type) of the media item.
RelativeUrl
UrlName The url of the media item relative to the media item base url (media root + id).
Metadata A dictionary with media metadata information.

Methods

Equals(Media)
Equals(object)
GetHashCode()

Extension Methods

AbsoluteUrl(Media)
AbsoluteUrl(Media, ImageProcessOptions)
AbsoluteUrl(Media, Nullable<UInt16>, Nullable<UInt16>, ResizeMode)
ImageMetadata(Media) Gets an object containing metadata for the image.
IsImageType(Media)
Url(Media) Gets the url of the media item relative to the root of the host.
Url(Media, ImageProcessOptions) Gets the url of the media item relative to the root of the host, including a query parameter to pass image processing options.
Url(Media, Nullable<UInt16>, Nullable<UInt16>, ResizeMode) Gets the url of the media item relative to the root of the host, including a query parameter to pass image processing options.