November Happy Hour will be moved to Thursday December 5th.

Class PropertyBlob

Property that is used to store a binary large object.

Inheritance
System.Object
PropertyBlob
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: 9.12.2
Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyBlob : PropertyString, IReadOnly<PropertyData>, IReadOnly

Constructors

PropertyBlob()

Initializes a new instance of the PropertyBlob class.

Declaration
public PropertyBlob()

PropertyBlob(BlobFactory)

Initializes a new instance of the PropertyBlob class.

Declaration
[Obsolete("Use alternative constructor")]
public PropertyBlob(BlobFactory blobFactory)
Parameters
Type Name Description
BlobFactory blobFactory

The BLOB factory.

PropertyBlob(IBlobFactory)

Initializes a new instance of the PropertyBlob class.

Declaration
public PropertyBlob(IBlobFactory blobFactory)
Parameters
Type Name Description
IBlobFactory blobFactory

Properties

BinaryData

Gets or sets the binary data.

Declaration
public Blob BinaryData { get; set; }
Property Value
Type Description
Blob

The binary data.

PropertyValueType

Gets the System.Type of the property value.

Declaration
public override Type PropertyValueType { get; }
Property Value
Type Description
System.Type

The System.Type of the property value.

Overrides

Value

Gets or sets the value of the property.

Declaration
public override object Value { get; set; }
Property Value
Type Description
System.Object

The value of the property.

Overrides
Remarks

Value returns null if the property has no value defined.

Methods

Clear()

Clear value and set as null/undefined.

Declaration
public override void Clear()
Overrides
Remarks

If the property is a required property, calling the Clear method will throw a RequiredPropertyValueException exception. Check IsRequired to see if this a required property.

SaveData(PropertyDataCollection)

Return any internal data that will be stored to the database. "Serialize".

Declaration
public override object SaveData(PropertyDataCollection properties)
Parameters
Type Name Description
PropertyDataCollection properties

Current property collection.

Returns
Type Description
System.Object

The "serializable" value of the property.

Overrides

Implements

Extension Methods