Click or drag to resize

PropertyMediaT Class

A property to use for using a media from ImageVault.
Inheritance Hierarchy
PropertyData
  ImageVault.EPiServerPropertyMediaT
    ImageVault.EPiServerPropertyMedia

Namespace:  ImageVault.EPiServer
Assembly:  ImageVault.EPiServer (in ImageVault.EPiServer.dll) Version: 11.7.67
Syntax
C#
public abstract class PropertyMedia<T> : PropertyData
where T : new(), MediaReference

Type Parameters

T
The type of MediaReference that should be stored in the property. Needs to inherit the MediaReference class.

The PropertyMediaT type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyIsModified
Get/Sets the IsModified of the PropertyMedia
Public propertyIsNull
Gets the IsNull of the PropertyMedia
Public propertyMediaReference
Get/Sets the MediaReference of the PropertyMedia
Public propertyPropertyValueType
Gets the PropertyValueType of the PropertyMedia
Public propertyType
Gets the Type of the PropertyMedia
Public propertyValue
Get/Sets the Value of the PropertyMedia
Top
Methods
  NameDescription
Public methodCopy
Creates a copy of the current PropertyData object
Public methodCreateWritableClone
Creates a new object that is a copy of the current instance.
Public methodMakeReadOnly
Makes the instance readonly
Public methodParseToSelf
Public methodSaveData
Protected methodSetDefaultValue
Top
Examples
C#
public class MyMedia : MediaReference {
    //Add your custom implementation here
}
[PageDefinitionTypePlugIn(DisplayName = "MyMedia")]
public class PropertyMyMedia : PropertyMedia<MyMedia> {}
See Also