BasePropertyEncodedValue Property

This is used to set or get the value of the property in its encoded string form representing how it will be read from or written to the PDI data stream (i.e. Base 64, Quoted-Printable, etc).

Definition

Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public virtual string EncodedValue { get; set; }

Property Value

String
This method is always used when parsing a PDI data stream to set the value of a property. It is also used when returning the value for output to a PDI data stream.

Remarks

If the ValueLocation property is set to INLINE or a data type, this property contains the actual value in encoded string form. If it is set to some other value, this property contains a pointer to the actual value (i.e. a URL, content ID, etc). In such cases, the value is probably not encoded.

Derived classes can override this property to convert the string to the actual data that they represent when set using data from a PDI data stream and to convert their data to a string when retrieved for writing to a PDI data stream (i.e. an image or sound). If not overridden, the data is stored as a string that can be accessed via the Value property.

If this property is overridden, override Value as well to ensure the value is stored correctly in either form.

See Also