Contents

removeObject

Remove an object by key from the dictionary.

Declaration

void removeObject(const char *aKey);
virtual void removeObject(const char *aKey);

Parameters

  • aKey:

    A c-string key. An OSString is created from aKey and used as the key for the dictionary.

Return Value

true on success, which retains the object, or false on failure which does not retain the object.

Discussion

An object in the dictionary with the given key object is removed and released.

See Also

Accessing Keys and Values