CFDictionaryRemoveValue

Header: CFDictionary.h Carbon status: Supported

Removes the value of the key from the dictionary.

void CFDictionaryRemoveValue (
    CFMutableDictionaryRef dict, 
    const void *key
);
Parameter descriptions
dict

The dictionary from which the value is to be removed. If this parameter is not a valid mutable CFDictionary, the behavior is undefined.

key

The key of the value to remove from the dictionary. If a key which matches this key is present in the dictionary, the key-value pair is removed from the dictionary, otherwise this function does nothing ("remove if present").

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)