ItemByName method: Pagelet collection
Syntax
ItemByName(Name)
Description
The ItemByName method returns the pagelet object with the name Name.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specify the name of an existing pagelet within the pagelet collection. If you specify an invalid name, the object will be NULL. |
Returns
A reference to a pagelet object if successful, NULL otherwise.
Example
&MyPagelet = &CRefColl.ItemByName("PORTAL_ADMIN);