---
title: name
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkattachment/name
---

# name

The name of the attached file.

## Declaration

```swift
var name: String { get }
```

## See Also

### Accessing attachment data

- [identifier](healthkit/hkattachment/identifier.md)
- [contentType](healthkit/hkattachment/contenttype.md)
- [size](healthkit/hkattachment/size.md)
- [creationDate](healthkit/hkattachment/creationdate.md)
- [metadata](healthkit/hkattachment/metadata.md)
- [HKAttachment.AsyncBytes](healthkit/hkattachment/asyncbytes.md)
