CFBagReplaceValue

Header: CFBag.h Carbon status: Supported

Replaces a value in a mutable CFBag object.

void CFBagReplaceValue (
    CFMutableBagRef bag, 
    const void *value
);
Parameter descriptions
bag
value

Pass a pointer to the value that you want to substitute for an identical value in the collection. If this value does not already exist in the collection, the function does nothing. You may pass the value itself instead of a pointer to it if it is pointer-size or less.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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