Class PropertyBlob
Property that is used to store a binary large object.
Inherited Members
Namespace: EPiServer.SpecializedProperties
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[PropertyDefinitionTypePlugIn]
public class PropertyBlob : PropertyString, IReadOnly<PropertyData>, IReadOnly
Constructors
PropertyBlob()
Initializes a new instance of the Property
Declaration
public PropertyBlob()
PropertyBlob(IBlobFactory)
Initializes a new instance of the Property
Declaration
public PropertyBlob(IBlobFactory blobFactory)
Parameters
Type | Name | Description |
---|---|---|
IBlob |
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.
Declaration
public override Type PropertyValueType { get; }
Property Value
Type | Description |
---|---|
System. |
The System. |
Overrides
Value
Gets or sets the value of the property.
Declaration
public override object Value { get; set; }
Property Value
Type | Description |
---|---|
System. |
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.
IsEmptyValue(Object)
Called to determine if current value is considered empty.
Declaration
protected override bool IsEmptyValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value |
Returns
Type | Description |
---|---|
System. |
Overrides
Remarks
Default implementation returns true for System.
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 |
---|---|---|
Property |
properties | Current property collection. |
Returns
Type | Description |
---|---|
System. |
The "serializable" value of the property. |