Partager via


ITask

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The ITask interface represents an assigned, delegated, or self-assigned task to be performed within a specified time-frame. Task items are contained within the Tasks folder.

Methods in Vtable Order

ITask methods Description

ITask::ClearRecurrencePattern

Clears the recurrence for the task, and marks it as a single instance.

ITask::GetRecurrencePattern

Gets the Recurrence Pattern object that represents the recurrence attributes of the task.

ITask::get_IsRecurring

Determines whether the task is a recurring task.

ITask::get_Subject

Gets the subject for the task.

ITask::get_Categories

Gets the categories assigned to the task.

ITask::get_StartDate

Gets the time when the task should begin.

ITask::get_DueDate

Determines when the task is due to be completed.

ITask::get_DateCompleted

Determines when the task was completed.

ITask::get_Importance

Gets the task's priority. Values come from the OlImportance enumeration: olImportanceLow, olImportanceNormal (default), and olImportanceHigh.

ITask::get_Complete

Determines whether the task has been completed.

ITask::get_Sensitivity

Gets the sensitivity level for the task. Values come from the OlSensitivity enumeration (olNormal, olPersonal, olPrivate, and olConfidential).

ITask::get_TeamTask

Determines whether the task is a team task.

ITask::get_Body

Gets the text of the notes accompanying the task.

ITask::get_ReminderSet

Determines whether the user wants to be reminded to complete the task by a specified date and time.

ITask::get_ReminderSoundFile

Gets the path and file name of the sound file to play when the task reminder occurs.

ITask::get_ReminderTime

Determines when a reminder occurs before the start or due date of the task.

ITask::get_ReminderOptions

Gets the type of task reminder.

ITask::put_Subject

Sets the subject for the task.

ITask::put_Categories

Sets the categories assigned to the task.

ITask::put_StartDate

Sets the time when the task should begin.

ITask::put_DueDate

Sets the date when the task is due to be completed.

ITask::put_Importance

Sets the task's priority. Values come from the OlImportance enumeration: olImportanceLow, olImportanceNormal (default), and olImportanceHigh.

ITask::put_Complete

Sets whether the task has been completed.

ITask::put_Sensitivity

Sets the sensitivity level for the task. Values come from the OlSensitivity enumeration (olNormal, olPersonal, olPrivate, and olConfidential).

ITask::put_TeamTask

Sets whether the task is a team task.

ITask::put_Body

Sets the text of the notes accompanying the task.

ITask::put_ReminderSet

Sets whether the user wants to be reminded that the task is to start, or to be completed.

ITask::put_ReminderSoundFile

Sets the path and file name of the sound file to play when the reminder occurs for the task.

ITask::put_ReminderTime

Sets when a reminder occurs before the start or due date of the task.

ITask::put_ReminderOptions

Sets the type of a reminder.

ITask::Save

Saves the Task item.

ITask::Delete

Deletes the Task item.

ITask::SkipRecurrence

Causes a recurring task to move forward through one occurrence.

ITask::Copy

Copies the Task item.

ITask::Display

Displays the Task item's Summary tab.

ITask::get_Oid

Gets the Task item's object identifier (OID).

ITask::put_BodyInk

Sets a binary representation of the Task's body notes.

ITask::get_BodyInk

Gets a binary representation of the Task's body notes.

ITask::get_Application

Gets the main Outlook Mobile IPOutlookApp object.

Remarks

POOM does not support the Microsoft Outlook desktop version's ReminderOverrideDefault property. When you create a task, Outlook Mobile automatically creates it with the default reminder information. When you set individual reminder properties, they automatically override the defaults.

Requirements

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Tasks

Creating a PIM Item

Reference

IContact
IAppointment
Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations