CFURLCreateResourcePropertiesForKeysFromBookmarkData(_:_:_:)
Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data.
Declaration
func CFURLCreateResourcePropertiesForKeysFromBookmarkData(_ allocator: CFAllocator!, _ resourcePropertiesToReturn: CFArray!, _ bookmark: CFData!) -> Unmanaged<CFDictionary>!Parameters
- allocator:
The allocator to use to allocate memory for the new
CFURLobject. PassNULLor Kcfallocatordefault to use the current default allocator. - resourcePropertiesToReturn:
An array of names of URL resource properties. See Common File System Resource Keys for a list of possible keys.
- bookmark:
The bookmark data the resource values are derived from.
Return Value
A dictionary of the requested resource values contained in bookmarkData.
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(_:_:_:_:)CFURLCreateResourcePropertyForKeyFromBookmarkData(_:_:_:)CFURLSetResourcePropertiesForKeys(_:_:_:)CFURLSetResourcePropertyForKey(_:_:_:_:)CFURLSetTemporaryResourcePropertyForKey(_:_:_:)