InsertItem method: SelectedPagelet collection
Syntax
InsertItem(SelectedPageletName, Column, Row)
Description
The InsertItem method inserts the SelectedPagelet object identified by SelectedPageletName into the SelectedPagelet Collection.
This method is not executed automatically. It is executed only when the parent object is saved.
Parameters
| Parameter | Description |
|---|---|
|
SelectedPageletName |
Specify the name of a new SelectedPagelet. This parameter takes a string value. If you specify a name that already exists in the collection, you get an error. |
|
Column |
Specify the column number for this pagelet. |
|
Row |
Specify the row number for this pagelet. |
Returns
A reference to the new SelectedPagelet object if the method executed successfully, NULL otherwise.