Function

CFDictionaryGetCount

Returns the number of key-value pairs in a dictionary.

Declaration

CFIndex CFDictionaryGetCount(CFDictionaryRef theDict);

Parameters

theDict

The dictionary to examine.

Return Value

The number of number of key-value pairs in theDict.

See Also

Examining a dictionary

CFDictionaryContainsKey

Returns a Boolean value that indicates whether a given key is in a dictionary.

CFDictionaryContainsValue

Returns a Boolean value that indicates whether a given value is in a dictionary.

CFDictionaryGetCountOfKey

Returns the number of times a key occurs in a dictionary.

CFDictionaryGetCountOfValue

Counts the number of times a given value occurs in the dictionary.

CFDictionaryGetKeysAndValues

Fills two buffers with the keys and values from a dictionary.

CFDictionaryGetValue

Returns the value associated with a given key.

CFDictionaryGetValueIfPresent

Returns a Boolean value that indicates whether a given value for a given key is in a dictionary, and returns that value indirectly if it exists.