Edit

Share via


TaskType.CompleteDate Property

Definition

The CompleteDate property gets or sets an instance of the DateTime structure that represents the date on which a task was completed.

public:
 property DateTime CompleteDate { DateTime get(); void set(DateTime value); };
public DateTime CompleteDate { get; set; }
Public Property CompleteDate As DateTime

Property Value

The CompleteDate property returns an instance of the DateTime structure that represents the date on which a task was completed.

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.

Applies to