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

# append(contentsOf:)

Adds multiple entity identifiers to the collection.

## Declaration

```swift
mutating func append(contentsOf newIdentifiers: [Entity.ID])
```

## Discussion

Discussion Parameter: newIdentifiers: An array of entity identifiers to add to the collection.
