---
title: contentType
framework: QuickLook UI
role: symbol
role_heading: Instance Property
platforms: [macOS 12.0+]
path: quicklookui/qlpreviewreplyattachment/contenttype
---

# contentType

The content type of the preview attachment.

## Declaration

```swift
var contentType: UTType { get }
```

## See Also

### Inspecting a preview reply attachment

- [data](quicklookui/qlpreviewreplyattachment/data.md)
