Share via


SharingItem.MarkAsTask Method

Outlook Developer Reference

Marks a SharingItem 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 SharingItem object.

Parameters

Name Required/Optional Data Type Description
MarkInterval Required OlMarkInterval The task interval for the SharingItem.

Remarks

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

See Also