<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFDataSearchFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@E@CFDataSearchFlags"
  },
  "title" : "CFDataSearchFlags"
}
-->

# CFDataSearchFlags

A [`CFOptionFlags`](/documentation/CoreFoundation/CFOptionFlags) type for specifying options for searching.

```
struct CFDataSearchFlags
```

## Topics

### Constants

[`backwards`](/documentation/CoreFoundation/CFDataSearchFlags/backwards)

[`anchored`](/documentation/CoreFoundation/CFDataSearchFlags/anchored)



---

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)