Version

OffsetStartTime Method

Adjusts the start date and time for the Appointment by the specified System.TimeSpan. The duration of the Appointment is maintained.
Syntax
'Declaration
 
Public Sub OffsetStartTime( _
   ByVal timeChange As TimeSpan _
) 
public void OffsetStartTime( 
   TimeSpan timeChange
)

Parameters

timeChange
TimeSpan indicating how much to offset the start of the appointment.
Remarks

The following code will increase an appointment by one hour.

[VB]

UltraCalendarInfo1.Appointments(0).OffsetStartTime(System.TimeSpan.FromHours(1))

[C#]

ultraCalendarInfo1.Appointments[0].OffsetStartTime(System.TimeSpan.FromHours(1));

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also