Class PropertyBlob
Property that is used to store a binary large object.
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 7.19.2Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyBlob : PropertyString, IReadOnly<PropertyData>, IReadOnlyConstructors
PropertyBlob()
Initializes a new instance of the PropertyBlob class.
Declaration
public PropertyBlob()PropertyBlob(BlobFactory)
Initializes a new instance of the PropertyBlob class.
Declaration
public PropertyBlob(BlobFactory blobFactory)Parameters
| Type | Name | Description | 
|---|---|---|
| BlobFactory | blobFactory | The BLOB factory. | 
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. | 
