| MediaSource Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.Base.Web.UI
 Syntax
Syntax[SerializableAttribute] public class MediaSource : ISerializable
The MediaSource type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | MediaSource | 
            Constructor
             | 
|  | MediaSource(SerializationInfo, StreamingContext) | 
            Constructor for deserialization.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AttachmentGuid | 
            GUID of the selected attachment.
             | 
|  | AttachmentID | 
            Attachment ID.
             | 
|  | DocumentID | 
            CMS file document id.
             | 
|  | Extension | 
            File extension.
             | 
|  | FileName | 
            File name.
             | 
|  | FileSize | 
            File size in bytes.
             | 
|  | HistoryID | 
            Version history ID of the document.
             | 
|  | MediaFileGuid | 
            GUID of the selected media file.
             | 
|  | MediaFileID | 
            Media file id.
             | 
|  | MediaFileLibraryID | 
            Media file library ID.
             | 
|  | MediaFilePath | 
            Media file path.
             | 
|  | MediaHeight | 
            Image height.
             | 
|  | MediaType | 
            Type of media.
             | 
|  | MediaWidth | 
            Image width.
             | 
|  | MetaFileGuid | 
            GUID of the selected metafile.
             | 
|  | MetaFileID | 
            Metafile ID.
             | 
|  | NodeAliasPath | 
            CMS file alias path.
             | 
|  | NodeGuid | 
            GUID of the selected node.
             | 
|  | NodeID | 
            Node ID.
             | 
|  | OriginalUrl | 
            Gets or sets the original URL of this media source.
             | 
|  | SiteID | 
            Site ID.
             | 
|  | SourceType | 
            Type of media source.
             | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | GetObjectData | 
            Gets object data.
             | 
 See Also
See Also