次の方法で共有


_SharingItem.MarkAsTask Method

Marks a SharingItem 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 _SharingItem
Dim MarkInterval As OlMarkInterval

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

Parameters

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.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace