---
title: sharedItemContentType
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/shareditemcontenttype
---

# sharedItemContentType

The file type of the item to enable the user to share items from Spotlight.

## Declaration

```swift
var sharedItemContentType: UTType? { get set }
```

## Discussion

Discussion Core Spotlight uses this property to determine the correct type identifier to pass to the fileURL(for:itemIdentifier:typeIdentifier:inPlace:) method. Spotlight enables sharing the item even if your app doesn’t set sharedItemContentType, but does support drag and drop for URL-backed types. Similarly, Spotlight enables copying items if your app supports drag and drop of Core Spotlight items.

## See Also

### Describing supporting actions

- [actionIdentifiers](corespotlight/cssearchableitemattributeset/actionidentifiers.md)
- [supportsNavigation](corespotlight/cssearchableitemattributeset/supportsnavigation.md)
- [supportsPhoneCall](corespotlight/cssearchableitemattributeset/supportsphonecall.md)
- [CSActionIdentifier](corespotlight/csactionidentifier.md)
