Partager via


_DistListItem.MarkAsTask Method

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Sub MarkAsTask ( _
    MarkInterval As OlMarkInterval _
)
'Usage
Dim instance As _DistListItem
Dim MarkInterval As OlMarkInterval

instance.MarkAsTask(MarkInterval)
[DispIdAttribute()]
void MarkAsTask(
    OlMarkInterval MarkInterval
)

Parameters

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.

See Also

Reference

_DistListItem Interface

_DistListItem Members

Microsoft.Office.Interop.Outlook Namespace