Contact Class

Represents contact information.
Inheritance Hierarchy
SystemObject
  Aspose.Email.PersonalInfoContact

Namespace:  Aspose.Email.PersonalInfo
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
[SerializableAttribute]
public class Contact : IPreferredTextEncodingProvider

The Contact type exposes the following members.

Constructors
  NameDescription
Public methodContact
Initializes a new instance of the Contact class
Properties
  NameDescription
Public propertyAccount
Contains the alias of an Address Book object, which is an alternative name by which the object can be identified.
Public propertyAssociatedPersons
Gets list of associated persons
Public propertyAttachments
Gets attachments collection
Public propertyCompanyName
Gets or sets a company name.
Public propertyComputerNetworkName
Gets or sets a name of the mail user's computer network.
Public propertyCustomerId
Gets or sets a customer id
Public propertyDepartmentName
Gets or sets a department name.
Public propertyDisplayName
Gets or sets a display name
Public propertyEmailAddresses
Gets list of email addresses
Public propertyEvents
Gets list of events
Public propertyFileAs
Gets or sets a name used for sorting.
Public propertyFileAsMapping
Gets or sets a value which specifies how to generate and recompute the value of the FileAs property when other contact name properties change.
Public propertyFreeBusyLocation
Gets or sets URL path from which a client can retrieve free/busy information for the contact as an iCal file
Public propertyGender
Gets or sets gender of a person.
Public propertyGivenName
Gets or sets a given name that is a part of a person's full name. A given name is also known as a personal name, first name, forename, or Christian name.
Public propertyGovernmentIdNumber
Gets or sets a government id number
Public propertyHobbies
Gets or sets a hobbies
Public propertyId
Gets object identification information
Public propertyInitials
Gets or sets an initials
Public propertyInstantMessengers
Gets list of instant messenger addresses
Public propertyJobTitle
Gets or sets a job title.
Public propertyLanguage
Gets or sets a language
Public propertyLocation
Gets or sets location
Public propertyMiddleName
Gets or sets a middle name that is a part of a person's full name. In some countries people have an additional (middle) name.
Public propertyNickname
Gets or sets a nickname of a person.
Public propertyNotes
Gets or sets a notes
Public propertyNotesFormat
Gets or sets a format of a notes field.
Public propertyOfficeLocation
Gets or sets office location
Public propertyOrganizationalIdNumber
Contains an identifier for the mail user used within the mail user's organization.
Public propertyPhoneNumbers
Gets list of phone numbers
Public propertyPhoto
Gets or sets an image of contact
Public propertyPhysicalAddresses
Gets list of postal addresses
Public propertyPreferredTextEncoding
Gets or sets preferred encoding for all text properties
Public propertyPrefix
Gets or sets a prefix of a full name such like Mr.(mister), Dr.(doctor) and so on.
Public propertyProfession
Gets or sets a job position of a person in a company.
Public propertySuffix
Gets or sets a suffix of a full name such like Jr.(junior), Sr.(senior) and so on.
Public propertySurname
Gets or sets a surname that is a part of a person's full name. Surname is also known as family name or last name.
Public propertyUrls
Gets list of urls
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberLoad(Stream)
Loads contact data
Public methodStatic memberLoad(String)
Loads contact data
Public methodStatic memberLoad(Stream, ContactLoadFormat)
Loads contact data
Public methodStatic memberLoad(String, ContactLoadFormat)
Loads contact data
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Saves this MapiContact into the given stream with vCard format. The supported vCard version is 2.1
Public methodSave(String)
Saves this MapiContact to the vCard file with a default options. The supported vCard version is 2.1
Public methodSave(Stream, ContactSaveFormat)
Saves this Contact to the given stream with a format using the default options.
Public methodSave(Stream, ContactSaveOptions)
Saves this Contact to the given stream using specified save options.
Public methodSave(String, ContactSaveFormat)
Saves this MapiContact to the specified file with a format using the default options. The supported save format is vCard.
Public methodSave(String, ContactSaveOptions)
Saves this MapiContact into file using specified save options. The supported save options is VCardSaveOptions
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Operators
See Also