BBjNamespace::clear

Description

In BBj 3.0 and higher, this method removes all elements from the BBjNamespace.

Syntax

Return Value

Method

void

clear()

Parameters

None.

Return Value

None.

Remarks

None_ERROR_63.

Example

namespace! = BBjAPI().getNamespace("test","test",1)
namespace!.setValue("aKey","bValue")
namespace!.setValue("bKey","bValue")
keys! = namespace!.getKeys()
print keys!.size()
namespace!.clear()
keys! = namespace!.getKeys()
print keys!.size()

See Also

BBjAPI

BBjNamespace

Object Variables

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