Removes all mappings from the specified element map.

Parameter:

elementMapId

The element map identifier.

Note: When the element map with such an identifier does not exist, the generator raises an error.

Returns:

The number of key/element associations that has been removed (0 will indicate that the map was already empty).

See Also:

createElementMap(), checkElementMap(), removeElementMap(), removeElementByKey(), removeElementsByKey()