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

# NSDocument.SaveOperationType.saveOperation

An operation that overwrites a document’s file or file package with the document’s contents.

## Declaration

```swift
case saveOperation
```

## See Also

### Constants

- [NSDocument.SaveOperationType.saveAsOperation](appkit/nsdocument/saveoperationtype/saveasoperation.md)
- [NSDocument.SaveOperationType.saveToOperation](appkit/nsdocument/saveoperationtype/savetooperation.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)
