Compartir a través de


CalendarItemType.End Property

The End property gets or sets an instance of the DateTime structure that represents the end of a duration.

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

Syntax

'Declaration
Public Property End As DateTime
    Get
    Set
'Usage
Dim instance As CalendarItemType
Dim value As DateTime

value = instance.End

instance.End = value
public DateTime End { get; set; }

Property Value

Type: System.DateTime
The End property returns an instance of the DateTime structure that represents the end of a duration.

Remarks

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.