First method: Favorite collection

Syntax

First()

Description

The First method returns the first Favorite object in the Favorite collection.

Parameters

None.

Returns

A Favorite object.

Example

&MyFav = &MyCollection.First();