Try our conversational search powered by Generative AI!

Class PropertyContentReferenceList

Property for storing multiple ContentReference instances. Supports content properties of type System.Collections.Generic.IList<T>, System.Collections.Generic.ICollection<T> or System.Collections.Generic.IEnumerable<T>

Inheritance
System.Object
PropertyContentReferenceList
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyContentReferenceList : PropertyList<ContentReference>, IReadOnly<PropertyData>, IReadOnly, ILazyProperty

Constructors

PropertyContentReferenceList()

Initializes a new instance of the PropertyContentReferenceList class.

Declaration
public PropertyContentReferenceList()

PropertyContentReferenceList(IEnumerable<ContentReference>)

Initializes a new instance of the PropertyContentReferenceList class with the provided list.

Declaration
public PropertyContentReferenceList(IEnumerable<ContentReference> list)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ContentReference> list

Methods

ParseItem(String)

Declaration
protected override ContentReference ParseItem(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
ContentReference
Overrides
EPiServer.Core.PropertyList<EPiServer.Core.ContentReference>.ParseItem(System.String)

ParseToObject(String)

Creates a new instance of PropertyData with the given value, ie reversed ToString().

Declaration
[Obsolete("ParseToObject is no longer required to be implemented. The same functionality can be achieved by creating a new instance and calling the ParseToSelf method.")]
public override PropertyData ParseToObject(string value)
Parameters
Type Name Description
System.String value

The string value to parse.

Returns
Type Description
PropertyData

A new instance of PropertyData with the given value.

Overrides

ToRawString()

Declaration
[Obsolete("Method will no longer be called on Export. See EPiServer.Core.Transfer.Internal.PropertyContentReferenceListTransform class for equivalent functionality.")]
public override string ToRawString()
Returns
Type Description
System.String
Overrides

Implements

Extension Methods

EPiServer.Core.PropertyDataExtensions.TranslateDisplayName(EPiServer.Core.PropertyData)
EPiServer.Core.PropertyDataExtensions.TranslateDescription(EPiServer.Core.PropertyData)