Version

DisplayAppointmentDialog(DateTime,DateTime,Boolean,Owner) Method

Display an Appointment Dialog for a new Appointment.
Syntax
'Declaration
 
Public Overloads Sub DisplayAppointmentDialog( _
   ByVal startDate As Date, _
   ByVal endDate As Date, _
   ByVal allDayEvent As Boolean, _
   ByVal owner As Owner _
) 
public void DisplayAppointmentDialog( 
   DateTime startDate,
   DateTime endDate,
   bool allDayEvent,
   Owner owner
)

Parameters

startDate
Start DateTime for the new appointment
endDate
End DateTime for the new appointment
allDayEvent
Boolean indicating if the appointment should be initialized as an Appointment.AllDayEvent.
owner
The associated owner.
Remarks

This overload of the DisplayAppointmentDialog creates a new AppointmentDialog for a new Appointment object if the BeforeDisplayAppointmentDialog event is not cancelled. If the Appointment is saved from the dialog, the Appointment will be created and added to the Appointments.

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