TaskRequestItem Object
Description
Represents an item in an Inbox (mail) folder. A TaskRequestItem object represents a change to the recipient's Tasks list initiated by another party or as a result of a group tasking.
Using the TaskRequestItem Object
Unlike other Outlook objects, you cannot create this object or find an existing one in the Items collection. It is created automatically when you apply the Assign method to a TaskItem object to assign (delegate) the associated task to another user. The following example creates a simple task and assigns it as a task request to another user.
Set myItem = myOlApp.CreateItem(olTaskItem)
myItem.Assign
Set myDelegate = myItem.Recipients.Add("April LaMonte")
myItem.Subject = "Prepare Agenda For Meeting"
myItem.DueDate = #9/20/97#
myItem.Send
Use the GetAssociatedTask method to return the TaskRequestItem object, and work directly with the TaskItem object to respond to the request.
Properties
Actions property, Application property, Attachments property, BillingInformation property, Body property, Categories property, Companies property, CreationTime property, EntryID property, FormDescription property, GetInspector property, Importance property, LastModificationTime property, MessageClass property, Mileage property, NoAging property, OutlookInternalVersion property, OutlookVersion property, Parent property, Saved property, Sensitivity property, Size property, Subject property, UnRead property, UserProperties property.
Methods
Close method, Copy method, Delete method, Display method, GetAssociatedTask method, Move method, PrintOut method, Save method, SaveAs method.
Events
Close event, CustomAction event, CustomPropertyChange event, Forward event, Open event, PropertyChange event, Read event, Reply event, ReplyAll event, Send event, Write event.