GetTask

Description

Gets a task from Pocket Outlook.

Applies to

POOM objects

Syntax

POOMTask objectname.GetTask ( index ) 

Argument

Description

objectname

The name of the POOM object

index

Integer for the index of the task that you want to retrieve

Returns

POOMTask. Use the IsValid function to confirm that a valid task was returned.

Usage

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

Examples

Example 1

The following example retrieves the first task in Pocket Outlook and displays it:

POOMTask task
DateTime  dt

task = g_poom.GetTask(1)
if IsValid(task) then

   task.Display()
end if

See also