Version

Add(DateTime,DateTime,String) Method

Creates and adds a new Appointment with the specified start date/time, end date/time and subject and to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal startDateTime As Date, _
   ByVal endDateTime As Date, _
   ByVal subject As String _
) As Appointment

Parameters

startDateTime
The StartDateTime of the new appointment.
endDateTime
The EndDateTime of the new appointment.
subject
The Subject of the new appointment.
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