InsertItem method: TabDefinition collection
Syntax
InsertItem(TabDefinitionName)
Description
The InsertItem method inserts the TabDefinition object identified by TabDefinitionName into the TabDefinition Collection.
Note:
The portal registry classes execute some methods "interactively", that is, as they happen. The item won't be marked for insertion, then actually inserted later. The item is inserted into the database as soon as the method is executed.
Parameters
| Parameter | Description |
|---|---|
|
TabDefinitionName |
Specify the name of an existing permission list. |
Returns
A reference to the new TabDefinition object if the method executed successfully, NULL otherwise.
Example
&MyTabDef = &MyColl.InsertItem("Empl_Homepage");
If Not &MyTabDef Then
/* do error processing */
End-If;