---
title: kMDItemContentType
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/kmditemcontenttype
---

# kMDItemContentType

The UTI pedigree of a file. A CFString.

## Declaration

```swift
let kMDItemContentType: CFString!
```

## Discussion

Discussion  For example, a jpeg image file will have a value of public.jpeg/public.image/public.data. The value of this attribute is set by the MDImporter. Changes to this value are lost when the file attributes are next imported.
