MarkAsTask Method
TOC
Collapse the table of content
Expand the table of content

MailItem.MarkAsTask Method (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Marks a MailItem object as a task and assigns a task interval for the object.

expression .MarkAsTask(MarkInterval)

expression An expression that returns a MailItem object.

Parameters

Name

Required/Optional

Data Type

Description

MarkInterval

Required

OlMarkInterval

The task interval for the MailItem.

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.

Show:
© 2016 Microsoft