---
title: contents
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovideritemfields/contents
---

# contents

The item’s content.

## Declaration

```swift
static var contents: NSFileProviderItemFields { get }
```

## Discussion

Discussion If the item is a directory, the content are the item’s children. If the item is a file, the content is the data saved on disk.

## See Also

### Specifying the Required Fields

- [filename](fileprovider/nsfileprovideritemfields/filename.md)
