MapiContact Class

Represents outlook contact information
Inheritance Hierarchy

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.9
Syntax
public sealed class MapiContact : MapiMessageItemBase

The MapiContact type exposes the following members.

Constructors
  NameDescription
Public methodMapiContact
Initializes a new instance of the MapiContact class
Public methodMapiContact(String, String)
Initializes a new instance of the MapiContact class.
Public methodMapiContact(String, String, String)
Initializes a new instance of the MapiContact class.
Public methodMapiContact(String, String, String, String)
Initializes a new instance of the MapiContact class.
Properties
  NameDescription
Public propertyAttachments
Gets the attachments in the contact.
Public propertyBilling
Contains the billing information associated with an item.
(Inherited from MapiMessageItemBase.)
Public propertyBody
Gets the message text.
(Inherited from MapiMessageItemBase.)
Public propertyBodyHtml
Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
(Inherited from MapiMessageItemBase.)
Public propertyBodyRtf
Gets or sets the RTF formatted message text.
(Inherited from MapiMessageItemBase.)
Public propertyBodyType
Gets the type of the body.
(Inherited from MapiMessageItemBase.)
Public propertyCategories
Contains keywords or categories for the message object.
(Inherited from MapiMessageItemBase.)
Public propertyCodePage
Gets the code page.
(Inherited from MapiPropertyContainer.)
Public propertyCompanies
Contains the names of the companies that are associated with an item.
(Inherited from MapiMessageItemBase.)
Public propertyElectronicAddresses
Specify properties for up to three different e-mail addresses and three different fax addresses
Public propertyEvents
Specify events associated with a contact
Public propertyItemId
The item id, uses with a server
(Inherited from MapiMessageItemBase.)
Public propertyMessageClass
Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message.
(Inherited from MapiMessageItemBase.)
Public propertyMileage
Contains the mileage information that is associated with an item.
(Inherited from MapiMessageItemBase.)
Public propertyNamedProperties
Gets the named properties of message.
(Inherited from MapiMessageItemBase.)
Public propertyNamedPropertyMapping
Gets the named property mapping.
(Inherited from MapiMessageItemBase.)
Public propertyNameInfo
The properties are used to specify the name of the person represented by the contact
Public propertyOtherFields
Specify other fields of conhtact.
Public propertyPersonalInfo
Specify other additional contact information
Public propertyPhoto
Contains contact photoMapiContactPhoto.
Public propertyPhysicalAddresses
Specify three physical addresses: Home Address, Work Address, and Other Address. One of the addresses can be marked as the Mailing Address
Public propertyProfessionalInfo
Properties are used to store professional details for the person represented by the contact
Public propertyProperties
Gets the collection of properties.
(Inherited from MapiPropertyContainer.)
Public propertyPropertyStream
Gets the property stream.
(Inherited from MapiMessageItemBase.)
Public propertyRecipients
Gets the recipients of the message.
(Inherited from MapiMessageItemBase.)
Public propertySensitivity
Gets the Sensitivity.
(Inherited from MapiMessageItemBase.)
Public propertySubject
Gets or sets the subject of the message.
(Inherited from MapiMessageItemBase.)
Public propertySubjectPrefix
Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
(Inherited from MapiMessageItemBase.)
Public propertySubStorages
Gets the sub storages.
(Inherited from MapiMessageItemBase.)
Public propertyTelephones
Specify telephone numbers for the contact
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MapiMessageItemBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFromVCard(Stream)
Reads MapiContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
Public methodStatic memberFromVCard(String)
Reads MapiContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
Public methodStatic memberFromVCard(Stream, Encoding)
Reads MapiContact from the specified stream containing vCard. The supported vCard versions are 2.1 and 3.0
Public methodStatic memberFromVCard(String, Encoding)
Reads MapiContact from the specified vCard file The supported vCard versions are 2.1 and 3.0
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperty
Gets MAPI property by property descriptor.
(Inherited from MapiMessageItemBase.)
Public methodGetPropertyBoolean
Gets the value of the property specified by tag as Boolean type.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyBytes
Gets the string value of the property specified by tag.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyDateTime
Gets the value of the property specified by tag as DateTime type.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyInt32
Gets the int32 value of the property specified by tag.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyLong
Gets the value of the property specified by tag as Long (int64) type.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyShort
Gets the value of the property specified by tag as Short type.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyString(Int64)
Gets the string value of the property specified by tag.
(Inherited from MapiPropertyContainer.)
Public methodGetPropertyString(Int64, Int32)
Gets the string value of the property specified by tag.
(Inherited from MapiPropertyContainer.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnderlyingMessage
Get the MapiMessage that represent contact.
Public methodIsStoreUnicodeOk
Determines if string properties are Unicode encoded or not.
(Inherited from MapiPropertyContainer.)
Public methodRemoveProperty
Provides correctly removing property from all collections.
(Inherited from MapiMessageItemBase.)
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 MapiContact to the given stream with a format using the default options. The supported save format is vCard
Public methodSave(Stream, ContactSaveOptions)
Saves this MapiContact to the given stream using specified save options. The supported save options is VCardSaveOptions
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 methodSetBodyContent(String, BodyContentType)
Sets the content of the body.
(Overrides MapiMessageItemBaseSetBodyContent(String, BodyContentType).)
Public methodSetBodyContent(String, BodyContentType, Boolean)
Sets the content of the body.
(Inherited from MapiMessageItemBase.)
Public methodSetBodyRtf
Gets or sets the RTF formatted message text.
(Inherited from MapiMessageItemBase.)
Public methodSetMessageFlags
Sets the message flags.
(Inherited from MapiMessageItemBase.)
Public methodSetProperty(MapiProperty)
Sets the property.
(Inherited from MapiPropertyContainer.)
Public methodSetProperty(PropertyDescriptor, Object)
Sets MAPI property.
(Inherited from MapiMessageItemBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetPropertyData
Try to get the property data with specified tag key.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyDateTime
Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyInt32
Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyLong
Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyString(Int64)
Try to get a property data as string with specified tag.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyString(Int64, Int32)
Try to get a property data as string with specified tag and code page.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyString(Int64, String)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
(Inherited from MapiPropertyContainer.)
Public methodTryGetPropertyString(Int64, String, Int32)
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded.
(Inherited from MapiPropertyContainer.)
See Also