---
title: data
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/intentfile/data
---

# data

The contents of the file. If the file was created with a URL, accessing this property will memory map the file contents.

## Declaration

```swift
var data: Data { get }
```

## See Also

### Getting the file information

- [filename](appintents/intentfile/filename.md)
- [fileURL](appintents/intentfile/fileurl.md)
- [type](appintents/intentfile/type.md)
- [removedOnCompletion](appintents/intentfile/removedoncompletion.md)
