SharingItem.MarkAsTask Method (Outlook)

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

Version Added: Outlook 2007

expression .MarkAsTask(MarkInterval)

expression An expression that returns a SharingItem object.

Parameters

Name

Required/Optional

Data Type

Description

MarkInterval

Required

OlMarkInterval

The task interval for the SharingItem.

Calling this method sets the IsMarkedAsTask property to True and updates the TaskStartDate, TaskDueDate, and TaskOrdinal properties depending on the value provided in MarkInterval.

Show:
© 2015 Microsoft