SharingItem.MarkAsTask method (Outlook)

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

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

SharingItem Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.