VCardContact

VCardContact class

Represents a vCard contact

public sealed class VCardContact

Constructors

Name Description
VCardContact() Initializes a new instance of the VCardContact class

Properties

Name Description
DeliveryAddresses { get; set; } Gets or sets a delivery addresses
Emails { get; set; } Gets or sets a contact’s email addresses
ExplanatoryInfo { get; set; } Gets or sets a vCard explanatory information
ExtendedProperties { get; set; } Gets or sets an extended properties
Geo { get; set; } Gets or sets a global positioning
IdentificationInfo { get; set; } Gets or sets an identification properties
Labels { get; set; } Gets or sets a delivery addresses
Mailer { get; set; } Gets or sets a mailer
Organization { get; set; } Gets or sets an organization information
Security { get; set; } Gets or sets a security properites
TelephoneNumbers { get; set; } Gets or sets a contact’s telephone numbers
TimeZone { get; set; } Gets or sets a timeZone

Methods

Name Description
static Load(Stream) Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
static Load(string) Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
static Load(Stream, CancellationToken) Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
static Load(Stream, Encoding) Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
static Load(string, CancellationToken) Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
static Load(string, Encoding) Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
static Load(Stream, Encoding, CancellationToken) Reads VCardContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
static Load(string, Encoding, CancellationToken) Reads VCardContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
Save(Stream) Saves this MapiContact into the given stream with vCard format. The supported vCard version is 2.1
Save(string) Saves this MapiContact to the vCard file with a default options. The supported vCard version is 2.1
Save(Stream, ContactSaveFormat) Saves this MapiContact to the given stream with a format using the default options. The supported save format is vCard
Save(Stream, ContactSaveOptions) Saves this MapiContact to the given stream using specified save options. The supported save options is VCardSaveOptions
Save(string, ContactSaveFormat) Saves this MapiContact to the specified file with a format using the default options. The supported save format is vCard.
Save(string, ContactSaveOptions) Saves this MapiContact into file using specified save options. The supported save options is VCardSaveOptions
static IsMultiContacts(Stream) Checks whether source stream contains multi contacts.
static LoadAsMultiple(Stream, Encoding) Loads list of contacts from multi contact stream.
static LoadAsMultiple(string, Encoding) Loads list of contacts from multi contact file.
static LoadAsMultiple(Stream, Encoding, CancellationToken) Loads list of contacts from multi contact stream.
static LoadAsMultiple(string, Encoding, CancellationToken) Loads list of contacts from multi contact stream.

See Also