<!--
{
  "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/CFURLCreateResourcePropertyForKeyFromBookmarkData(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFURLCreateResourcePropertyForKeyFromBookmarkData"
  },
  "title" : "CFURLCreateResourcePropertyForKeyFromBookmarkData(_:_:_:)"
}
-->

# CFURLCreateResourcePropertyForKeyFromBookmarkData(_:_:_:)

Returns the value of a resource property from specified bookmark data.

```
func CFURLCreateResourcePropertyForKeyFromBookmarkData(_ allocator: CFAllocator!, _ resourcePropertyKey: CFString!, _ bookmark: CFData!) -> Unmanaged<CFTypeRef>!
```

## Parameters

`allocator`

The allocator to use to allocate memory for the new `CFURL` object. Pass `NULL` or [`kCFAllocatorDefault`](/documentation/CoreFoundation/kCFAllocatorDefault) to use the current default allocator.

`resourcePropertyKey`

The resource property key. See [Common File System Resource Keys](/documentation/CoreFoundation/common-file-system-resource-keys) for a list of possible keys.

`bookmark`

The bookmark data the resource value is derived from.

## Return Value

The resource property value.

## Discussion

This function does not attempt to resolve the bookmark data or perform I/O.

---

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)