Function

CFSetGetCount

Returns the number of values currently in a set.

Declaration

CFIndex CFSetGetCount(CFSetRef theSet);

Parameters

theSet

The set to examine.

Return Value

The number of values in theSet.

See Also

Examining a Set

CFSetContainsValue

Returns a Boolean that indicates whether a set contains a given value.

CFSetGetCountOfValue

Returns the number of values in a set that match a given value.

CFSetGetValue

Obtains a specified value from a set.

CFSetGetValueIfPresent

Reports whether or not a value is in a set, and if it exists returns the value indirectly.

CFSetGetValues

Obtains all values in a set.