CFBagSetValue

Header: CFBag.h Carbon status: Supported

Sets a value in a mutable CFBag object.

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

Pass a reference to a mutable CFBag object whose contents you want to modify.

value

Pass a pointer to the value that you wish to set in the collection. If this value already exists in the CFBag object, it is replaced. You may pass the value itself instead of a pointer to it if the value is pointer-size or less. If the CFBag object is fixed-size and the value is beyond its capacity, the behavior is undefined.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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