public virtual string Encode(
string data
)
Public Overridable Function Encode (
data As String
) As String
public:
virtual String^ Encode(
String^ data
)
abstract Encode :
data : string -> string
override Encode :
data : string -> string
By default, it can handle Base 64 and Quoted-Printable encoding. For 7-bit and 8-bit encoding, it will escape characters as needed. The method used depends on the current setting of the Encoding property. It can be overridden to support other types of encoding.
For vCard 2.1 and vCalendar 1.0 properties, if a CharacterSet parameter has been specified, the value is converted from the one specified by the DefaultEncoding property to the one specified by the CharacterSet property before encoding it.