endKeys

endKeys(duplicatesAllowed: Boolean) updating;

The endKeys method of the DynaDictionary class indicates the end of a single or multiple key specification.

Use the duplicatesAllowed parameter to specify whether the dictionary allows or disallows duplicate key entries.

At least one key must have been defined (by using the addExternalKey or addMemberKey method). If this precondition is violated, the appropriate system exception is raised.

For an example of the use of the endKeys method, see "Using Dynamic Dictionaries", later in this chapter.