This documentation is archived and is not being maintained.

CalendarItemType.Duration Property

The Duration property gets or sets a string value that represents the duration of a calendar item.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public string Duration { get; set; }

Property Value

Type: System.String
The Duration property returns a string value that represents the duration of a calendar item.

The UpdateItem method can set the Start and End time of an Exchange store item. In an UpdateItem request, you can set the Start time without also setting the End time. This can cause an error if the Start time is later than the End time. Client applications must perform adjustments to the End time when the Start time is changed in order to preserve the Duration.

Show: