Appointment Constructor ()

3/29/2010

Initializes a new instance of the Appointment class.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public Appointment ()
'Declaration
Public Sub New

Remarks

A new Appointment is created in a specified Folder. You must later add the Appointment to a collection using AppointmentCollection.Add().

Example

OutlookSession s; using (s = new OutlookSession()) { Appointment a = new Appointment(); // Set properties on "a" here. s.Appointments.Items.Add(a); a.Update(); }

See Also

Reference

Appointment Class
Appointment Members
Microsoft.WindowsMobile.PocketOutlook Namespace