Partager via


_SharingItem.ToDoTaskOrdinal Property

Returns or sets a DateTime value that represents the ordinal value of the task for the SharingItem. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property ToDoTaskOrdinal As DateTime
    Get
    Set
'Usage
Dim instance As _SharingItem
Dim value As DateTime

value = instance.ToDoTaskOrdinal

instance.ToDoTaskOrdinal = value
[DispIdAttribute()]
DateTime ToDoTaskOrdinal { get; set; }

Property Value

Type: System.DateTime

Remarks

This property returns Nothing (a null reference (Nothing in Visual Basic) in C#) if the IsMarkedAsTask property is set to False.

This property is used to indicate how the task should be ordered within the parent groups, such as the Today group or the Tomorrow group, of the To-Do Bar. The value used in this property does not have any relation to the values of the TaskStartDate, TaskDueDate, or TaskCompletedDate properties.

See Also

Reference

_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace