---
title: "append(contentsOf:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/entitycollection/append(contentsof:)-7zah3"
---

# append(contentsOf:)

Adds the identifiers for multiple entities to the collection.

## Declaration

```swift
mutating func append(contentsOf entities: [Entity])
```

## Discussion

Discussion Parameter: entities: An array of entities. This method adds the identifier for each entity to the collection. This method adds the identifier for each entity to the collection, but doesn’t keep a reference to the actual entities.
