TaskItem object (Outlook)

Represents a task (an assigned, delegated, or self-imposed task to be performed within a specified time frame) in a Tasks folder.

Remarks

Use the CreateItem method to create a TaskItem object that represents a new task.

Use Items (index), where index is the index number of a task or a value used to match the default property of a task, to return a single TaskItem object from a Tasks folder.

Example

The following Visual Basic for Applications (VBA) example returns a new task.

Set myItem = Application.CreateItem(olTaskItem)

Events

Name
AfterWrite
AttachmentAdd
AttachmentRead
AttachmentRemove
BeforeAttachmentAdd
BeforeAttachmentPreview
BeforeAttachmentRead
BeforeAttachmentSave
BeforeAttachmentWriteToTempFile
BeforeAutoSave
BeforeCheckNames
BeforeDelete
BeforeRead
Close
CustomAction
CustomPropertyChange
Forward
Open
PropertyChange
Read
ReadComplete
Reply
ReplyAll
Send
Unload
Write

Methods

Name
Assign
CancelResponseState
ClearRecurrencePattern
Close
Copy
Delete
Display
GetConversation
GetRecurrencePattern
MarkComplete
Move
PrintOut
Respond
Save
SaveAs
Send
ShowCategoriesDialog
SkipRecurrence
StatusReport

Properties

Name
Actions
ActualWork
Application
Attachments
AutoResolvedWinner
BillingInformation
Body
CardData
Categories
Class
Companies
Complete
Conflicts
ContactNames
ConversationID
ConversationIndex
ConversationTopic
CreationTime
DateCompleted
DelegationState
Delegator
DownloadState
DueDate
EntryID
FormDescription
GetInspector
Importance
InternetCodepage
IsConflict
IsRecurring
ItemProperties
LastModificationTime
MarkForDownload
MessageClass
Mileage
NoAging
Ordinal
OutlookInternalVersion
OutlookVersion
Owner
Ownership
Parent
PercentComplete
PropertyAccessor
Recipients
ReminderOverrideDefault
ReminderPlaySound
ReminderSet
ReminderSoundFile
ReminderTime
ResponseState
Role
RTFBody
Saved
SchedulePlusPriority
SendUsingAccount
Sensitivity
Session
Size
StartDate
Status
StatusOnCompletionRecipients
StatusUpdateRecipients
Subject
TeamTask
ToDoTaskOrdinal
TotalWork
UnRead
UserProperties

See also

Outlook Object Model Reference TaskItem Object Members

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.