First method: DynamicCategory collection

Syntax

First()

Description

The First method returns the name of the first PageletCategory in the DynamicCategory collection.

Parameters

None.

Returns

A string.

Example

&MyDynamicCategory = &MyCollection.First();