---
title: DataStoreSnapshotCodingKey.persistentIdentifier
framework: SwiftData
role: symbol
role_heading: Case
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, tvOS 18.0+, visionOS 2.0+, watchOS 11.0+, swift 5.9+]
path: swiftdata/datastoresnapshotcodingkey/persistentidentifier
---

# DataStoreSnapshotCodingKey.persistentIdentifier

A value that represents a persistent identifier.

## Declaration

```swift
case persistentIdentifier
```
