Contents

MDSchemaCopyAttributesForContentType(_:)

Returns a dictionary containing the metadata attributesfor the specified UTI type.

Declaration

func MDSchemaCopyAttributesForContentType(_ contentTypeUTI: CFString!) -> CFDictionary!

Parameters

  • utiType:

    The UTI type.

Return Value

A dictionary containing kMDAttributeDisplayValues and kMDAttributeAllValues keys.Returns NULL if the UTItype is unknown.

Discussion

This function returns the metadata attributes for the specifiedUTI type only.

See Also

MDSchema Miscellaneous Functions