| MediaSource Class | 
Namespace: CMS.ExtendedControls
[SerializableAttribute] public class MediaSource : ISerializable
The MediaSource type exposes the following members.
| Name | Description | |
|---|---|---|
| MediaSource | 
            Constructor
              | |
| MediaSource(SerializationInfo, StreamingContext) | 
            Constructor for deserialization.
              | 
| Name | Description | |
|---|---|---|
| GetObjectData | 
            Gets object data.
              | 
| Name | Description | |
|---|---|---|
| AsValue | 
            Converts object to a query value which can be used as a query parameter
              (Defined by QueryExtensions.) | |
| GetAPIString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| GetString | 
            Gets the string by the specified resource key
              (Defined by CoreExtensions.) | |
| ToBoolean | 
            Returns the boolean representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDateTime | 
            Returns the DateTime representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToDouble | 
            Returns the double representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToGuid | 
            Returns the Guid representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToInteger | 
            Returns the integer representation of an object or default value if not.
              (Defined by CoreExtensions.) | |
| ToString | 
            Returns the string representation of an object or default value if not.
              (Defined by CoreExtensions.) | 
| 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.
              | |
| MediaFileLibraryGroupID | 
            Media file library group 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.
              | |
| SiteID | 
            Site ID.
              | |
| SourceType | 
            Type of media source.
              |