TaskRequestDeclineItem.Reply Event (Outlook)

Occurs when the user selects the Reply action for an item (which is an instance of the parent object).

Syntax

expression .Reply(Response, Cancel)

expression A variable that represents a TaskRequestDeclineItem object.

Parameters

Name

Required/Optional

Data Type

Description

Response

Required

Object

The new item being sent in response to the original message.

Cancel

Required

Boolean

(Not used in VBScript). False when the event occurs. If the event procedure sets this argument to True, the reply operation is not completed and the new item is not displayed.

Remarks

Returns the reply as a MailItem object.

In Microsoft Visual Basic Scripting Edition (VBScript), if you set the return value of this function to False, the reply action is not completed and the new item is not displayed.

See Also

Concepts

TaskRequestDeclineItem Object Members

TaskRequestDeclineItem Object