ItemByName method: Node collection
Syntax
ItemByName(NodeName)
Description
The ItemByName method returns the Node object with the name specified by NodeName.
Parameters
| Parameter | Description |
|---|---|
|
NodeName |
Specify the name of an existing node in the Node collection. If you specify an invalid name, the object returned is NULL. |
Returns
A Node object if successful, NULL otherwise.
Example
&MyOldNode = &MyPortal.Nodes.ItemByName("HRMS");