MapiMessageItemBase Class

Represents the base class for all MapiMessageItem classes and keeps common collections of mapi properties, attachments, recipients.
Inheritance Hierarchy

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public abstract class MapiMessageItemBase : MapiPropertyContainer, 
	IMapiMessageItem, IDisposable

The MapiMessageItemBase type exposes the following members.

Constructors
  NameDescription
Protected methodMapiMessageItemBase
Initializes a new instance of the MapiMessageItemBase class.
Protected methodMapiMessageItemBase(MapiPropertyCollection)
Initializes a new instance of the MapiMessageItemBase class.
Properties
  NameDescription
Public propertyAttachments
Gets the attachments in the message.
Public propertyBilling
Contains the billing information associated with an item.
Public propertyBody
Gets the message text.
Public propertyBodyHtml
Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
Public propertyBodyRtf
Gets or sets the RTF formatted message text.
Public propertyBodyType
Gets the type of the body.
Public propertyCategories
Contains keywords or categories for the message object.
Public propertyCodePage
Gets the code page.
(Inherited from MapiPropertyContainer.)
Public propertyCompanies
Contains the names of the companies that are associated with an item.
Public propertyItemId
The item id, uses with a server
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.
Public propertyMileage
Contains the mileage information that is associated with an item.
Public propertyNamedProperties
Gets the named properties of message.
Public propertyNamedPropertyMapping
Gets the named property mapping.
Public propertyProperties
Gets the collection of properties.
(Inherited from MapiPropertyContainer.)
Public propertyPropertyStream
Gets the property stream.
Public propertyRecipients
Gets the recipients of the message.
Public propertySensitivity
Gets the Sensitivity.
Public propertySubject
Gets or sets the subject of the message.
Public propertySubjectPrefix
Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
Public propertySubStorages
Gets the sub storages.
Methods
  NameDescription
Protected methodCheckIsDisposed
Checks if the object is disposed and raised exception in this case.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty
Gets MAPI property by property descriptor.
(Overrides MapiPropertyContainerGetProperty(PropertyDescriptor).)
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 (Inherited from Object.)
Protected methodInitNamedPropertyMappingStorage
Inits the named property mapping storage.
Public methodIsStoreUnicodeOk
Determines if string properties are Unicode encoded or not.
(Inherited from MapiPropertyContainer.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveProperty
Provides correctly removing property from all collections.
Public methodSetBodyContent(String, BodyContentType)
Sets the content of the body.
Public methodSetBodyContent(String, BodyContentType, Boolean)
Sets the content of the body.
Public methodSetBodyRtf
Gets or sets the RTF formatted message text.
Public methodSetMessageFlags
Sets the message flags.
Public methodSetProperty(MapiProperty)
Sets the property.
(Inherited from MapiPropertyContainer.)
Public methodSetProperty(PropertyDescriptor, Object)
Sets MAPI property.
(Overrides MapiPropertyContainerSetProperty(PropertyDescriptor, Object).)
Protected methodSetsIMapiMessageItemMembers
Sets MessageClass,Body and Subject.
Public methodToString (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.)
Fields
  NameDescription
Protected fieldattachments
The collection of attachments.
Protected fieldnamedPropertyMappingStorage
The named property mapping storage.
Protected fieldrecipients
The collection of recipients.
See Also
Inheritance Hierarchy