Base PropertyDecode Method
This method is used to decode a value read in from a PDI data stream
Definition
Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
The decoded data
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public virtual string? Decode(
string? data
)VB
Public Overridable Function Decode (
data As String
) As StringC++
public:
virtual String^ Decode(
String^ data
)F#
abstract Decode :
data : string -> string
override Decode :
data : string -> string Parameters
- data String
- The data string to decode
Return Value
StringThe decoded data
Remarks
By default, it can handle Base 64 and Quoted-Printable decoding. For 7-bit and 8-bit decoding, it will unescape characters where necessary. The method used depends on the current setting of the Encoding property. It can be overridden to support other types of decoding.
For vCard 2.1 and vCalendar 1.0 properties, if a CharacterSet parameter has been specified, the value is converted from the specified character set to the one specified by the DefaultEncoding property after decoding.