Click or drag to resize
MediaItem Class
Class containing information about the selected item which supposed to be used as media or link.
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UIMediaItem

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public class MediaItem

The MediaItem type exposes the following members.

Constructors
  NameDescription
Public methodMediaItem
Top
Properties
  NameDescription
Public propertyAliasPath
AliasPath of the selected node.
Public propertyDescription
Description of the selected item.
Public propertyExtension
File extension of the selected item.
Public propertyHeight
Height of the selected item (set only for images).
Public propertyHistoryID
ID of the item object history.
Public propertyMediaType
Type of the media determined according to the extension.
Public propertyName
Name of the selected item.
Public propertyNodeID
ID of the selected node.
Public propertyPermanentUrl
URL of the selected item.
Public propertySize
Size of the selected item.
Public propertyUrl
URL of the selected item.
Public propertyWidth
Width of the selected item (set only for images).
Top
See Also