Function

CFURLCreateResourcePropertiesForKeysFromBookmarkData

Returns the resource values for properties identified by a specified array of keys contained in specified bookmark data.

Declaration

CFDictionaryRef CFURLCreateResourcePropertiesForKeysFromBookmarkData(CFAllocatorRef allocator, CFArrayRef resourcePropertiesToReturn, CFDataRef bookmark);

Parameters

allocator

The allocator to use to allocate memory for the new CFURL object. Pass NULL or 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

Removes all cached resource values and temporary resource values from the URL object.

CFURLClearResourcePropertyCacheForKey

Removes the cached resource value identified by a given key from the URL object.

CFURLCopyResourcePropertiesForKeys

Returns the resource values for the properties identified by specified array of keys.

CFURLCopyResourcePropertyForKey

Returns the value of a given resource property of a given URL.

CFURLCreateResourcePropertyForKeyFromBookmarkData

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

CFURLSetResourcePropertiesForKeys

Sets the URL’s resource properties for a given set of keys to a given set of values.

CFURLSetResourcePropertyForKey

Sets the URL’s resource property for a given key to a given value.

CFURLSetTemporaryResourcePropertyForKey

Sets a temporary resource value on the URL.