CFBagGetCountOfValue

Header: CFBag.h Carbon status: Supported

Obtains the number of values in a CFBag that match a specified value.

CFIndex CFBagGetCountOfValue (
    CFBagRef bag, 
    const void *value
);
Parameter descriptions
bag

Pass a reference to the CFBag object that you want to query.

value

Pass a pointer to the value that you want to query the CFBag about.

function result

An integer specifying the number of values in the CFBag object that match a given value.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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