---
title: defaultAttributeSet
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/indexedentity/defaultattributeset
---

# defaultAttributeSet

The default Spotlight attributes to associate with an entity.

## Declaration

```swift
var defaultAttributeSet: CSSearchableItemAttributeSet { get }
```

## Discussion

Discussion Use this property to get the default attributes for any entity. This attribute set contains the title value taken from the entity’s displayRepresentation property. If the display representation also provides values for the subtitle and image, this attribute set contains those values too. If you create a custom attribute set for the attributeSet property, add these default attributes in the new set you create.

## See Also

### Specifying entity-related attributes

- [attributeSet](appintents/indexedentity/attributeset.md)
