Scheduler for WinRT
Add(DateTime,TimeSpan,String) Method


The System.DateTime value which specifies the start date and time of the appointment.
The System.TimeSpan value which specifies the duration of the appointment.
The System.String value which contains the subject of the appointment.
Creates the new Appointment object with specified parameters and adds it to the collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal start As Date, _
   ByVal duration As TimeSpan, _
   ByVal subject As String _
) As Appointment
'Usage
 
Dim instance As AppointmentCollection
Dim start As Date
Dim duration As TimeSpan
Dim subject As String
Dim value As Appointment
 
value = instance.Add(start, duration, subject)

Parameters

start
The System.DateTime value which specifies the start date and time of the appointment.
duration
The System.TimeSpan value which specifies the duration of the appointment.
subject
The System.String value which contains the subject of the appointment.

Return Value

The Appointment object.
Requirements

Target Platforms: 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

Reference

AppointmentCollection Class
AppointmentCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.