MailItem.MarkAsTask Method (Outlook)
Marks a MailItem object as a task and assigns a task interval for the object.
Version Information
Version Added: Outlook 2007
Syntax
expression .MarkAsTask(MarkInterval)
expression An expression that returns a MailItem object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
MarkInterval |
Required |
The task interval for the MailItem. |
Remarks
Calling this method sets the value of several other properties, depending on the value provided in MarkInterval. For more information about the properties set by specifying MarkInterval, see OlMarkInterval Enumeration.