Class ChannelDisplayMediaItem
A MediaItem derivative that includes all channel media for the MediaReference
Inheritance
System.Object
ChannelDisplayMediaItem
Namespace: ImageVault.EPiServer
Assembly: ImageVault.EPiServer.dll
Syntax
public class ChannelDisplayMediaItem : MediaItem
Constructors
ChannelDisplayMediaItem()
Declaration
public ChannelDisplayMediaItem()
Fields
ChannelDisplayMedia
Dictionary of channel display media for all requested channels
Declaration
public Dictionary<string, ChannelDisplayMediaItem> ChannelDisplayMedia
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, ChannelDisplayMediaItem> |
Properties
Original
Original item reference
Declaration
public Media Original { get; set; }
Property Value
Type | Description |
---|---|
Media |
Thumbnail
Thumbnail conversion suitable for representing the item as an image (if possible)
Declaration
public Thumbnail Thumbnail { get; set; }
Property Value
Type | Description |
---|---|
Thumbnail |
WebMedia
Media suitable for representing the item on a web page
Declaration
public WebMedia WebMedia { get; set; }
Property Value
Type | Description |
---|---|
WebMedia |
Methods
GetChannelMedia(String)
Gets the ChannelDisplayMediaItem for the supplied channel
Declaration
public ChannelDisplayMediaItem GetChannelMedia(string channel)
Parameters
Type | Name | Description |
---|---|---|
System.String | channel |
Returns
Type | Description |
---|---|
ChannelDisplayMediaItem |