ItemByLabel method: Favorite collection
Syntax
ItemByLabel(FavoriteLabel)
Description
The ItemByLabel method returns the Favorite object with the label FavoriteLabel. The label is the text used to identify the favorite to the end-user.
Parameters
| Parameter | Description |
|---|---|
|
FavoriteLabel |
Specify the label of an existing Favorite within the Favorite collection. If you specify an invalid favorite, the object returned is Null. |
Returns
A Favorite object if successful, Null otherwise.
Example
&MyFavorite = &MyColl.ItemByLabel("My Local Login");