Edit

Share via


_SharingItem.MarkAsTask(OlMarkInterval) Method

Definition

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

public:
 void MarkAsTask(Microsoft::Office::Interop::Outlook::OlMarkInterval MarkInterval);
public void MarkAsTask (Microsoft.Office.Interop.Outlook.OlMarkInterval MarkInterval);
Public Sub MarkAsTask (MarkInterval As OlMarkInterval)

Parameters

MarkInterval
OlMarkInterval

The task interval for the SharingItem.

Remarks

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

Applies to