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

Class TextEscape

Provides text escaping and unescaping for iCalendar (RFC 5545 §3.3.11) and vCard (RFC 6350 §3.4) text values. The escaped characters are: backslash, comma, semicolon, and newline.

Inheritance
object
TextEscape
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.Shared
Assembly: DRIT.Mail.dll
Syntax
public static class TextEscape

Methods

View Source

Escape(string)

Escapes special characters in text for iCal/vCard serialization.

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

Specifies the text value.

Returns
Type Description
string
View Source

Unescape(string)

Unescapes special characters in iCal/vCard text values.

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

Specifies the text value.

Returns
Type Description
string
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX