OfficeTask.Duration Property

Returns the amount of time from when the task was initially created to when it is due to be completed.

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<ValidationOptionAttribute(ValidationOption.Required)> _
Public Property Duration As Double
    Get
    Set
'Usage
Dim instance As OfficeTask
Dim value As Double

value = instance.Duration

instance.Duration = value
[ValidationOptionAttribute(ValidationOption.Required)]
public double Duration { get; set; }

Property Value

Type: System.Double
The amount of time counted in days, weeks, or months.

Remarks

The value of the DurationUnit property indicates whether this property is counted in days, weeks, or months.

See Also

Reference

OfficeTask Class

OfficeTask Members

Microsoft.Office.Workflow.Actions Namespace