RecurrencePattern.StartTime Property
Returns or sets a Date indicating the start time for a recurrence pattern. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Property StartTime As DateTime
Get
Set
'Usage
Dim instance As RecurrencePattern
Dim value As DateTime
value = instance.StartTime
instance.StartTime = value
DateTime StartTime { get; set; }
Property Value
Type: System.DateTime
Remarks
This property is only valid for appointments.
When you create a RecurrencePattern object and no time zones have been specified for the appointment, StartTime and EndTime of the RecurrencePattern object are based on the time zone specified by _TimeZones.CurrentTimeZone.
If you want to create a recurring appointment for a particular time zone, you should first create an AppointmentItem, set _AppointmentItem.StartTimeZone, and then call _AppointmentItem.GetRecurrencePattern. The RecurrencePattern object returned will have both StartTime and EndTime based on the time zone specified by AppointmentItem.StartTimeZone. Note that in the Appointment Recurrence dialog box, the time indicated as Start is RecurrencePattern.StartTime which is based on AppointmentItem.StartTimeZone, but the time indicated as End is not always the same as RecurrencePattern.EndTime which is based on AppointmentItem.StartTimeZone; the displayed time value is based on _AppointmentItem.EndTimeZone.