ItemByName method: SelectedPagelet collection

Syntax

ItemByName(Name)

Description

The ItemByName method returns the SelectedPagelet object with the name Name.

Parameters

Parameter Description

Name

Specify the name of an existing SelectedPagelet within the SelectedPagelet collection. If you specify an invalid name, the object is NULL.

Returns

A SelectedPagelet object if successful, NULL otherwise.

Example

&MySelectedPagelet = &MyColl.ItemByName("PORTAL_ADMIN");