_TaskItem.TotalWork Property

Returns or sets an Integer (int in C#) value indicating the total work for the task. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property TotalWork As Integer
    Get
    Set
'Usage
Dim instance As _TaskItem
Dim value As Integer

value = instance.TotalWork

instance.TotalWork = value
[DispIdAttribute()]
int TotalWork { get; set; }

Property Value

Type: System.Int32

Remarks

TotalWork corresponds to the Total work field on the Details tab of a Task item. It is stored in units of minutes. The Total work field on the standard task form is bound to the TotalWork property; by default the field assumes an 8-hour day and 40-hour week.

See Also

Reference

_TaskItem Interface

_TaskItem Members

Microsoft.Office.Interop.Outlook Namespace