---
title: rootContainer
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovideritemidentifier/rootcontainer
---

# rootContainer

The persistent identifier for the root directory of the file provider’s shared file hierarchy.

## Declaration

```swift
static let rootContainer: NSFileProviderItemIdentifier
```

## Mentioned in

Defining Your File Provider’s Content

## See Also

### Constants

- [workingSet](fileprovider/nsfileprovideritemidentifier/workingset.md)
- [trashContainer](fileprovider/nsfileprovideritemidentifier/trashcontainer.md)
