---
title: preservesValueInHistoryOnDeletion
framework: coredata
role: symbol
role_heading: Instance Property
path: coredata/nsattributedescription/preservesvalueinhistoryondeletion
---

# preservesValueInHistoryOnDeletion

A Boolean value that indicates whether the attribute records its value in the persistent history transaction for a managed object’s deletion.

## Declaration

```swift
var preservesValueInHistoryOnDeletion: Bool { get set }
```

## See Also

### Configuring the behavior

- [allowsCloudEncryption](coredata/nsattributedescription/allowscloudencryption.md)
- [allowsExternalBinaryDataStorage](coredata/nsattributedescription/allowsexternalbinarydatastorage.md)
- [defaultValue](coredata/nsattributedescription/defaultvalue.md)
- [valueTransformerName](coredata/nsattributedescription/valuetransformername.md)
