Function

CFURLClearResourcePropertyCacheForKey

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

Declaration

void CFURLClearResourcePropertyCacheForKey(CFURLRef url, CFStringRef key);

Parameters

url

The URL.

key

The resource value key whose cached values you want to remove.

Discussion

Removing a cached resource value may remove other cached resource values because some resource values are cached as a set of values, and because some resource values depend on other resource values. (Temporary resource values have no dependencies.)

This method is currently applicable only to URLs for file system resources.

See Also

Getting and Setting File System Resource Properties

CFURLClearResourcePropertyCache

Removes all cached resource values and temporary resource values 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.

CFURLCreateResourcePropertiesForKeysFromBookmarkData

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

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.