<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFSetRemoveValue(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFSetRemoveValue"
  },
  "title" : "CFSetRemoveValue(_:_:)"
}
-->

# CFSetRemoveValue(_:_:)

Removes a value from a CFMutableSet object.

```
func CFSetRemoveValue(_ theSet: CFMutableSet!, _ value: UnsafeRawPointer!)
```

## Parameters

`theSet`

The set to modify.

`value`

The value to remove from `theSet`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)