---
title: trashContainer
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovideritemidentifier/trashcontainer
---

# trashContainer

The persistent identifier for the parent of all trashed items.

## Declaration

```swift
static let trashContainer: NSFileProviderItemIdentifier
```

## Discussion

Discussion When the user moves an item to the trash, the system sets its parentItemIdentifier to trashContainer. Your extension must enumerate all trashed items on request.

## See Also

### Constants

- [rootContainer](fileprovider/nsfileprovideritemidentifier/rootcontainer.md)
- [workingSet](fileprovider/nsfileprovideritemidentifier/workingset.md)
