Click or drag to resize

MediaReference Class

This class describes the data stored in the PropertyMedia and is used as a reference to lookup media from ImageVault. Here we store the Id of the selected media, edits for the media and additional metadata entered by the EPiServer editor.
Inheritance Hierarchy

Namespace:  ImageVault.EPiServer
Assembly:  ImageVault.EPiServer (in ImageVault.EPiServer.dll) Version: 11.7.67
Syntax
C#
public class MediaReference : MediaReferenceBase, 
	IReadOnly<MediaReference>, IReadOnly

The MediaReference type exposes the following members.

Constructors
  NameDescription
Public methodMediaReference
Initializes a new instance of the MediaReference class.
Public methodMediaReference(MediaReference)
Initializes a new instance of the MediaReference class.
Top
Properties
  NameDescription
Public propertyEffects
Gets the Effects of the MediaReferenceBase
(Inherited from MediaReferenceBase.)
Public propertyId
Get/Sets the Id of the MediaReferenceBase
(Inherited from MediaReferenceBase.)
Public propertyIsModified
Get/Sets the IsModified of the Media
(Inherited from MediaReferenceBase.)
Public propertyIsReadOnly
Gets the IsReadOnly of the MediaReferenceBase
(Inherited from MediaReferenceBase.)
Top
Methods
  NameDescription
Public methodClone
Clones the MediaReferenceBase to a new instance
(Inherited from MediaReferenceBase.)
Public methodCreateWritableClone
Creates a new object that is a copy of the current instance.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from MediaReferenceBase.)
Protected methodEquals(MediaReferenceBase)
Determines whether the specified MediaReferenceBase is equal to the current MediaReferenceBase.
(Inherited from MediaReferenceBase.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from MediaReferenceBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMakeReadOnly
Makes the instance readonly.
(Inherited from MediaReferenceBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodThrowIfReadyOnly
Throws an exception if the instance is readonly
(Inherited from MediaReferenceBase.)
Public methodToString
Returns a String that represents the current MediaReferenceBase.
(Inherited from MediaReferenceBase.)
Top
Examples