Tip
When working with the enum use the extension methods from the
VcfOptsExtension class.
[FlagsAttribute]
public enum VcfOpts
<FlagsAttribute>
Public Enumeration VcfOpts
[FlagsAttribute]
public enum class VcfOpts
[<FlagsAttribute>]
type VcfOpts
The flags WriteWabExtensions, WriteXExtensions, WriteEvolutionExtensions, and WriteKAddressbookExtensions control the automatic generation of NonStandardProperty objects. Even if these flags are set, the NonStandardProperty objects are only generated automatically, if the selected vCard standard does not allow a standardized equivalent.
None | 0 | All flags are unset. |
WriteGroups | 1 | Set the flag to write property group identifiers. |
WriteEmptyProperties | 2 | Set the flag to also write empty properties to the vCard. |
AppendAgentAsSeparateVCard | 4 | Set the flag to append in vCard 2.1 and vCard 3.0 embedded AGENT-vCards in the VCF file to the main vCard. |
WriteNonStandardParameters | 8 | Set the flag to write non-standard parameters to the VCF file. |
All | -1 | All flags are set. |
WriteNonStandardProperties | 16 | Set the flag to write NonStandardProperty objects to the VCF file. |
WriteRfc6474Extensions | 32 | Set the flag to write the extensions from RFC 6474 (BIRTHPLACE, DEATHPLACE, DEATHDATE). (Beginning from vCard 4.0.) |
WriteRfc6715Extensions | 64 | Set the flag to write the extensions from RFC 6715 (EXPERTISE, HOBBY, INTEREST, ORG-DIRECTORY). (Beginning from vCard 4.0.) |
WriteImppExtension | 128 | Set the flag to write the extension IMPP from RFC 4770 in vCard 3.0. |
WriteXExtensions | 256 | Set the flag to write the following vCard properties (if necessary): X-AIM, X-GADUGADU, X-GOOGLE-TALK, X-GTALK, X-ICQ, X-JABBER, X-MSN, X-SKYPE, X-TWITTER, X-YAHOO, X-MS-IMADDRESS, X-GENDER, X-ANNIVERSARY, X-SPOUSE, X-SOCIALPROFILE, and the X-SERVICE-TYPE parameter. |
WriteEvolutionExtensions | 512 | Set the flag to write the following vCard properties if necessary: X-EVOLUTION-ANNIVERSARY, X-EVOLUTION-SPOUSE. |
WriteKAddressbookExtensions | 1,024 | Set the flag to write the following vCard properties if necessary: X-KADDRESSBOOK-X-IMAddress, X-KADDRESSBOOK-X-Anniversary, X-KADDRESSBOOK-X-SpouseName. |
WriteWabExtensions | 2,048 | Set the flag to write the following vCard properties if necessary: X-WAB-GENDER, X-WAB-WEDDING-ANNIVERSARY, X-WAB-SPOUSE-NAME. |
AllowMultipleAdrAndLabelInVCard21 | 4,096 | Set the flag to allow multiple "ADR" and "LABEL" properties to be written into a vCard 2.1. |
UpdateTimeStamp | 8,192 | Set the flag to update the Updated property automatically when serializing VCF. |
SetPropertyIDs | 16,384 | Set the flag to call SetPropertyIDs automatically when serializing a VCard as vCard 4.0 (or higher). |
SetIndexes | 32,768 | Set the flag to set the Index properties in all VCardProperty collections that contains more than one item automatically when serializing vCard 4.0 (or higher). The values depend on the positions of the VCardProperty objects in the collection and on the flag WriteEmptyProperties. Any previously existing values will be overwritten. |
WriteRfc2739Extensions | 65,536 | Set the flag to write the extensions from RFC 2739 (FBURL, CALURI, CALADRURI) in vCard 3.0. |
WriteRfc8605Extensions | 131,072 | Set the flag to write the extensions from RFC 8605 (FBURL, CONTACT-URI property, CC parameter) in vCard 4.0. |
WriteRfc9554Extensions | 262,144 | Set the flag to write the extensions from RFC 9554 in vCard 4.0. |
WriteRfc9555Extensions | 524,288 | Set the flag to write the extensions from RFC 9555 in vCard 4.0. |
Default | 995,809 | Default setting (corresponds to WriteGroups | WriteRfc6474Extensions | WriteRfc6715Extensions | WriteImppExtension | WriteXExtensions | AllowMultipleAdrAndLabelInVCard21 | UpdateTimeStamp | WriteRfc2739Extensions | WriteRfc8605Extensions | WriteRfc9554Extensions) | WriteRfc9555Extensions) |