---
title: "CFBagRemoveValue(_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbagremovevalue(_:_:)"
---

# CFBagRemoveValue(_:_:)

Removes a value from a mutable bag.

## Declaration

```swift
func CFBagRemoveValue(_ theBag: CFMutableBag!, _ value: UnsafeRawPointer!)
```

## Parameters

- `theBag`: The bag from which value is to be removed.
- `value`: The value to be removed from the collection.

## See Also

### Modifying a Mutable Bag

- [CFBagAddValue(_:_:)](corefoundation/cfbagaddvalue(_:_:).md)
- [CFBagRemoveAllValues(_:)](corefoundation/cfbagremoveallvalues(_:).md)
- [CFBagReplaceValue(_:_:)](corefoundation/cfbagreplacevalue(_:_:).md)
- [CFBagSetValue(_:_:)](corefoundation/cfbagsetvalue(_:_:).md)
