TaskType.PercentComplete Property
The PercentComplete property gets or sets a double value from 0 to 100 that describes the completion status of a task.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
Public Property PercentComplete As Double
Get
Set
'Usage
Dim instance As TaskType
Dim value As Double
value = instance.PercentComplete
instance.PercentComplete = value
public double PercentComplete { get; set; }
Property Value
Type: System.Double
The PercentComplete property returns a double value from 0 to 100 that describes the completion status of a task.
Remarks
Setting the CompleteDate property has the same effect as setting the PercentComplete property to 100 or the Status property to Completed. In a request that sets at least two of these properties, the last processed property will determine the value that is set for these elements. For example, if the PercentComplete property is 100, the CompleteDate property is January 1, 2007, and the Status property is NotStarted, and the properties are streamed in that order, the effect will be to set the Status property of the task to NotStarted, the CompleteDate property to a null reference (Nothing in Visual Basic), and the PercentComplete property to 0.
See Also