Edit

Share via


_MailItem.MarkAsTask(OlMarkInterval) Method

Definition

Marks a MailItem 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 MailItem.

Remarks

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.

Applies to