Class
VCardComponentExtensions
OfficeIMO.Email
Typed text and group helpers over the lossless vCard property model.
Inheritance
- object
- VCardComponentExtensions
Methods
public static ContentLineProperty AddVCardText(ContentLineComponent card, string propertyName, string value) #Adds a repeated escaped text property.
Parameters
- card OfficeIMO.Email.ContentLineComponent
- propertyName string
- value string
Returns
ContentLinePropertypublic static string DecodeText(string value) #Decodes vCard TEXT escaping.
Parameters
- value string
Returns
stringpublic static string EncodeText(string value) #Encodes a vCard TEXT value.
Parameters
- value string
Returns
stringpublic static string? GetVCardText(ContentLineComponent card, string propertyName) #Returns the first property value with vCard text escaping decoded.
Parameters
- card OfficeIMO.Email.ContentLineComponent
- propertyName string
Returns
string?public static ContentLineProperty SetVCardText(ContentLineComponent card, string propertyName, string value) #Creates or replaces one escaped text property.
Parameters
- card OfficeIMO.Email.ContentLineComponent
- propertyName string
- value string
Returns
ContentLineProperty