CFURLCreateResourcePropertyForKeyFromBookmarkData(_:_:_:)
Returns the value of a resource property from specified bookmark data.
Declaration
func CFURLCreateResourcePropertyForKeyFromBookmarkData(_ allocator: CFAllocator!, _ resourcePropertyKey: CFString!, _ bookmark: CFData!) -> Unmanaged<CFTypeRef>!Parameters
- allocator:
The allocator to use to allocate memory for the new
CFURLobject. PassNULLor Kcfallocatordefault to use the current default allocator. - resourcePropertyKey:
The resource property key. See 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.
See Also
Getting and Setting File System Resource Properties
CFURLClearResourcePropertyCache(_:)CFURLClearResourcePropertyCacheForKey(_:_:)CFURLCopyResourcePropertiesForKeys(_:_:_:)CFURLCopyResourcePropertyForKey(_:_:_:_:)CFURLCreateResourcePropertiesForKeysFromBookmarkData(_:_:_:)CFURLSetResourcePropertiesForKeys(_:_:_:)CFURLSetResourcePropertyForKey(_:_:_:_:)CFURLSetTemporaryResourcePropertyForKey(_:_:_:)