Click or drag to resize
MediaSource Class
Media source data container class.
Inheritance Hierarchy
SystemObject
  CMS.Base.Web.UIMediaSource

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.0.0
Syntax
C#
[SerializableAttribute]
public class MediaSource : ISerializable

The MediaSource type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAttachmentGuid
GUID of the selected attachment.
Public propertyAttachmentID
Attachment ID.
Public propertyDocumentID
CMS file document id.
Public propertyExtension
File extension.
Public propertyFileName
File name.
Public propertyFileSize
File size in bytes.
Public propertyHistoryID
Version history ID of the document.
Public propertyMediaFileGuid
GUID of the selected media file.
Public propertyMediaFileID
Media file id.
Public propertyMediaFileLibraryGroupID
Media file library group ID.
Public propertyMediaFileLibraryID
Media file library ID.
Public propertyMediaFilePath
Media file path.
Public propertyMediaHeight
Image height.
Public propertyMediaType
Type of media.
Public propertyMediaWidth
Image width.
Public propertyMetaFileGuid
GUID of the selected metafile.
Public propertyMetaFileID
Metafile ID.
Public propertyNodeAliasPath
CMS file alias path.
Public propertyNodeGuid
GUID of the selected node.
Public propertyNodeID
Node ID.
Public propertySiteID
Site ID.
Public propertySourceType
Type of media source.
Top
Methods
  NameDescription
Public methodGetObjectData
Gets object data.
Top
See Also