• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class VCardTextEncoder

Encodes (escapes) vCard text values for serialization (RFC 6350 §3.4). Delegates to the shared TextEscape implementation which is identical for iCalendar and vCard.

Inheritance
object
VCardTextEncoder
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Rfc.VCard.Parsing
Assembly: DRIT.Mail.dll
Syntax
public static class VCardTextEncoder

Methods

View Source

Escape(string)

Escapes special characters (backslash, comma, semicolon, newline) in a vCard text value.

Declaration
public static string Escape(string text)
Parameters
Type Name Description
string text

The text to escape.

Returns
Type Description
string

The escaped text.

  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX