Pipeline object  POOMAppointment object

Chapter 2: System Object Properties, Events, and Functions

POOM object

The POOM (Pocket Outlook Object Manager) object can be used to integrate a PocketBuilder application more tightly with the Pocket PC or Smartphone. It serves as an object store for the device contact manager and appointment calendar. The POOM object can be used to manipulate tasks, contacts, and appointments programmatically.

Properties

POOM property

Datatype

Description

OutlookCompatible

Boolean

Specifies compatibility with Microsoft Outlook on the desktop. Values are:

  • TRUE – For synchronization with Outlook

  • FALSE – For synchronization with Microsoft Schedule+

This is a readonly property whose value is determined by system settings.

Version

String

Specifies the version of the Pocket Outlook object model. This is a readonly property whose value is determined by system settings.

Events

POOM event

Occurs

Constructor

When the object is created

Destructor

When the object is destroyed

Functions

POOM function

Datatype returned

Description

Add

Appointment, contact, or task object

Adds an appointment, contact, or task.

AddToInfraredQueue

Integer

Adds an appointment, contact, or task to the infrared queue.

GetAppointment

POOMAppointment

Obtains a single appointment using an index.

GetAppointmentFromOID

POOMAppointment

Obtains a single appointment using a specific object identifier (OID).

GetAppointments

Integer

Obtains an array of appointments. This function is overloaded. Syntax 1 obtains an array of appointments meeting specified criteria. Syntax 2 obtains an array of all appointments.

GetContact

POOMContact

Obtains a single contact using an index.

GetContactFromOID

POOMContact

Obtains a single contact using a specific object identifier (OID).

GetContacts

Integer

Obtains an array of contacts. This function is overloaded. Syntax 1 obtains an array of contacts meeting specified criteria. Syntax 2 obtains an array of all contacts.

GetTask

POOMTask

Obtains a single task using an index.

GetTaskFromOID

POOMTask

Obtains a single task using a specific object identifier (OID).

GetTasks

Integer

Obtains an array of tasks. This function is overloaded. Syntax 1 obtains an array of tasks meeting specified criteria. Syntax 2 obtains an array of all tasks.

Login

Integer

Logs in to a Pocket Outlook session. Required to add or remove appointments, contacts, and tasks. This function has an optional argument that specifies the parent window of the Outlook session.

Logout

Integer

Logs out of the Pocket Outlook session. Failure to log out can result in an out-of-memory error.

ReceiveFromInfrared

Integer

Receives items over an infrared link and distributes them to destination folders.

Remove

Integer

Removes an appointment, contact, or task.

SendToInfrared

Integer

Sends the entire infrared queue.





Copyright © 2004. Sybase Inc. All rights reserved. POOMAppointment object

View this book as PDF