---
title: NSDocument.SaveOperationType.saveToOperation
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsdocument/saveoperationtype/savetooperation
---

# NSDocument.SaveOperationType.saveToOperation

An operation that writes a copy of the document’s contents to the specified location, without changing the original document’s location.

## Declaration

```swift
case saveToOperation
```

## See Also

### Constants

- [NSDocument.SaveOperationType.saveOperation](appkit/nsdocument/saveoperationtype/saveoperation.md)
- [NSDocument.SaveOperationType.saveAsOperation](appkit/nsdocument/saveoperationtype/saveasoperation.md)
- [NSDocument.SaveOperationType.autosaveElsewhereOperation](appkit/nsdocument/saveoperationtype/autosaveelsewhereoperation.md)
- [NSDocument.SaveOperationType.autosaveInPlaceOperation](appkit/nsdocument/saveoperationtype/autosaveinplaceoperation.md)
- [NSDocument.SaveOperationType.autosaveAsOperation](appkit/nsdocument/saveoperationtype/autosaveasoperation.md)
