MapiTask Class

Represents the Outlook Task object.
Inheritance Hierarchy

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public class MapiTask : MapiMessageItemBase

The MapiTask type exposes the following members.

Constructors
  NameDescription
Public methodMapiTask
Initializes a new instance of the MapiTask class.
Public methodMapiTask(String, String, DateTime, DateTime)
Initializes a new instance of the MapiTask class.
Properties
  NameDescription
Public propertyAcceptanceState
Gets or sets the acceptance state of the task.
Public propertyActualEffort
Gets or sets the number of minutes that the user actually spent working on a task.
Public propertyAttachments
Gets the attachments collection.
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 propertyDateCompleted
Gets or sets the date when the user completed work on the task.
Public propertyDueDate
Gets or sets the date by which the user expects work on the task to be complete.
Public propertyEstimatedEffort
Gets or sets the number of minutes that the user expects to work on a task.
Public propertyFlags
Gets the indication flags of the Task object.
Public propertyHistory
Gets or sets the type of change that was last made to the Task object.
Public propertyItemId
The item id, uses with a server
(Inherited from MapiMessageItemBase.)
Public propertyLastUpdate
Gets or sets the date and time of the most recent change made to the Task object.
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 propertyMode
Gets or sets the assignment status of the Task object.
Public propertyNamedProperties
Gets the named properties of message.
(Inherited from MapiMessageItemBase.)
Public propertyNamedPropertyMapping
Gets the named property mapping.
(Inherited from MapiMessageItemBase.)
Public propertyPercentComplete
Gets or sets the progress the user has made on a task.
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 propertyRecurrence
Gets or sets the recurrence properties.
Public propertyReminderFileParameter
Specifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.
Public propertyReminderSet
Gets or sets a value indicating whether a reminder is set on the object
Public propertyReminderTime
Gets or sets the initial signal time for a reminder
Public propertySensitivity
Gets the Sensitivity.
(Inherited from MapiMessageItemBase.)
Public propertyStartDate
Gets or sets the date on which the user expects work on the task to begin.
Public propertyState
Gets or sets the current assignment state of the Task object.
Public propertyStatus
Gets or sets the status of the user's progress on the task.
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 propertyUsers
Gets or sets information about task users.
Methods
  NameDescription
Protected methodCheckIsDisposed
Checks if the object is disposed and raised exception in this case.
(Inherited from MapiMessageItemBase.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from MapiMessageItemBase.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFromVTodo(Stream)
Creates an instance of MapiTask from the specified stream.
Public methodStatic memberFromVTodo(String)
Creates an instance of MapiTask from the specified .ics file.
Public methodStatic memberFromVTodo(Stream, Boolean)
Creates an instance of MapiTask from the specified stream.
Public methodStatic memberFromVTodo(String, Boolean)
Creates an instance of MapiTask from the specified .ics file.
Public methodGetHashCode (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 (Inherited from Object.)
Protected methodInitNamedPropertyMappingStorage
Inits the named property mapping storage.
(Inherited from MapiMessageItemBase.)
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.
(Inherited from MapiMessageItemBase.)
Public methodSave(Stream, TaskSaveFormat)
Saves this MapiTask to the given stream using specified format.
Public methodSave(String, TaskSaveFormat)
Saves this MapiTask into file using specified format.
Public methodSetBodyContent(String, BodyContentType)
Sets the content of the body.
(Inherited from MapiMessageItemBase.)
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.)
Protected methodSetsIMapiMessageItemMembers
Sets MessageClass,Body and Subject.
(Inherited from MapiMessageItemBase.)
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.
(Inherited from MapiMessageItemBase.)
Protected fieldnamedPropertyMappingStorage
The named property mapping storage.
(Inherited from MapiMessageItemBase.)
Protected fieldrecipients
The collection of recipients.
(Inherited from MapiMessageItemBase.)
See Also