---
title: kMDItemTextContent
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/kmditemtextcontent
---

# kMDItemTextContent

Contains a text representation of the content of the document. Data in multiple fields should be combined using a whitespace character as a separator. A CFString.

## Declaration

```swift
let kMDItemTextContent: CFString!
```

## Discussion

Discussion An application's Spotlight importer provides the content of this attribute. Applications can search for values in this attribute, but are not able to read the content of this attribute directly.
