ItemByName method: Content Reference collection

Syntax

ItemByName(Name)

Description

The ItemByName method returns the content reference object with the name Name.

Parameters

Parameter Description

Name

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

Returns

A content reference object if successful, NULL otherwise.

Example

&MyCRef = &CRefColl.ItemByName("PORTAL_ADMIN);