Class ICalTextEncoder
Encodes (escapes) iCalendar text values for serialization (RFC 5545 §3.3.11). Delegates to the shared TextEscape implementation which is identical for iCalendar and vCard.
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal.Parsing
Assembly: DRIT.Mail.dll
Syntax
public static class ICalTextEncoder
Methods
View SourceEscape(string)
Escapes special characters (backslash, comma, semicolon, newline) in an iCalendar 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. |