MapiTask

MapiTask class

Represents the Outlook Task object.

The MapiTask type exposes the following members:

Constructors

NameDescription
MapiTask()Initializes a new instance of the MapiTask class.
MapiTask(subject, body, start_date, due_date)Initializes a new instance of the MapiTask class

Properties

NameDescription
properties
code_page
item_idThe item id, uses with a server
attachmentsGets the attachments collection.
property_streamGets the property stream.
named_propertiesGets the named properties of message.
recipientsGets the recipients of the message.
sub_storagesGets the sub storages.
named_property_mappingGets the named property mapping.
subject_prefixGets a subject prefix that typically indicates some action on a message, such as “FW: " for forwarding.
body_typeGets the type of the body.
body_rtfGets or sets the RTF formatted message text.
body_htmlGets the body_rtf of the message converted to HTML, if present, otherwise an empty string.
companiesContains the names of the companies that are associated with an item.
categoriesContains keywords or categories for the message object.
mileageContains the mileage information that is associated with an item.
billingContains the billing information associated with an item.
sensitivityGets the Sensitivity.
message_classGets 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.
supported_typeGets the supported item type.
bodyGets the message text.
subjectGets or sets the subject of the message.
percent_completeGets or sets the progress the user has made on a task.
actual_effortGets or sets the number of minutes that
the user actually spent working on a task.
estimated_effortGets or sets the number of minutes
that the user expects to work on a task.
due_dateGets or sets the date by which the user expects work
on the task to be complete.
start_dateGets or sets the date on which the user
expects work on the task to begin.
date_completedGets or sets the date when
the user completed work on the task.
last_updateGets or sets the date and time of the most
recent change made to the Task object.
recurrenceGets or sets the recurrence properties.
historyGets or sets the type of change
that was last made to the Task object.
usersGets or sets information about task users.
statusGets or sets the status of the user’s progress on the task.
modeGets or sets the assignment status of the Task object.
stateGets or sets the current assignment
state of the Task object.
priorityGets or sets the current Priority of the Task object.
acceptance_stateGets or sets the acceptance state of the task.
flagsGets the indication flags of the Task object.
reminder_timeGets or sets the initial signal time for a reminder
reminder_setGets or sets a value indicating whether a reminder is set on the object
reminder_file_parameterSpecifies the full path of the sound that a client SHOULD play when the reminder becomes overdue.

Methods

NameDescription
set_property(pd, value)
set_property(value)
try_get_property_string(tag, codepage)
try_get_property_string(tag)
try_get_property_string(tag, value, codepage)
try_get_property_string(tag, value)
get_property_string(tag, codepage)
get_property_string(tag)
set_body_content(content, content_type)
set_body_content(content, content_type, compression)
save(stream, save_format)
save(file_path, save_format)
from_v_todo(file_path)
from_v_todo(file_path, detect_encoding)
from_v_todo(stream)
from_v_todo(stream, detect_encoding)
get_property(pd)
try_get_property_data(tag)
get_property_bytes(tag)
get_property_int32(tag)
get_property_long(tag)
get_property_short(tag)
get_property_boolean(tag)
get_property_date_time(key)
is_store_unicode_ok()
try_get_property_date_time(tag, value)
try_get_property_long(tag, value)
try_get_property_int32(tag, value)
set_body_rtf(content, compression)
set_message_flags(flags)
remove_property(tag)
get_underlying_message()

See Also