MDItemCopyAttribute(_:_:)
Returns the value of the specified attribute in the metadata item.
Declaration
func MDItemCopyAttribute(_ item: MDItem!, _ name: CFString!) -> CFTypeRef!Parameters
- item:
The item to be queried.
- name:
The name of the requested attribute.
Return Value
A CFTypeRef, or NULL if there was a failure reading the attribute or the attribute does not exist.