Task Object

Outlook Developer Reference
Task Object

The Task object represents a record of tasks linked to a new or existing Account, Business Contact, or Opportunity.

Version Information
 Version Added:  Outlook 2007

Requirements

Business Contact Manager for Outlook

Remarks

You must link a Task object with exactly one new or existing Account, Business Contact, or Opportunity object. The Communication History folder contains task items.

Example

The following C# and Visual Basic for Applications (VBA) examples show how to create a new object instance of type IPM.Task.

C#
  
Outlook.TaskItem taskItem = (Outlook.TaskItem)historyFolder.Items.Add("IPM.Task");
Visual Basic for Applications
  
Set newTaskItem = olApp.CreateItem(olTaskItem)

User Properties (Business Contact Manager only)

None. All properties derive from the parent object.

Parent Objects

TaskItem Object

For more information, see the Outlook 2007 Developer Reference by going to the MSDN Office Developer Center Web site.

See Also

Appointments | Business Notes | E-Mail Messages | Files | Phone Logs