EndTime Property
Collapse the table of content
Expand the table of content

SaveAppointmentTask.EndTime Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the end time for the new appointment when the Calendar application is launched.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Public Property EndTime As Nullable(Of DateTime)

Property Value

Type: System.Nullable(Of DateTime)
The end time for the new appointment.

The end time must be the same as or after the start time or an InvalidOperationException will be thrown when Show is called.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft