GetContact

Description

Gets a contact from Pocket Outlook.

Applies to

POOM objects

Syntax

POOMContact objectname.GetContact (index)

Argument

Description

objectname

The name of the POOM object

index

Integer for the index of the contact that you want to get

Returns

POOMContact. Use the IsValid function to confirm that a valid contact was returned.

Usage

A user must be logged in to a POOM object to get a contact from Pocket Outlook.

Examples

Example 1

The following example retrieves the first contact in Pocket Outlook:

// global variable: g_poom

POOMContact myContact
myContact = g_poom.getContact( 1 )

if IsValid(myContact) then
   // Use myContact
end if

See also