BBjObjectTable::remove

Description

Removes a key/value pair from the table.

Syntax

Return Value

Method

void

remove(Object key!)

Parameters

Variable

Description

key!

Specifies a key.

Return Value

None.

Remarks

None.

Example

REM Remove an item from the BBjObjectTable

REM Obtain the instance of the BBjAPI object
LET myAPI!=BBjAPI()

REM Obtain the instance of the BBjObjectTable object
LET myObjectTable!=myAPI!.getObjectTable()

REM Create a key/value pair
STATE_KEY$="NM"
STATE_VALUE$="New Mexico"

REM Add the key/value pair into the BBjObjectTable
myObjectTable!.put(STATE_KEY$, STATE_VALUE$)

REM Remove the key/value pair from the BBjObjectTable
myObjectTable!.remove(STATE_KEY$)

See Also

BBjAPI

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.