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

# NSDocument.SaveOperationType.saveAsOperation

An operation that writes the document’s contents to a new location and updates the document to point to that location

## Declaration

```swift
case saveAsOperation
```

## See Also

### Constants

- [NSDocument.SaveOperationType.saveOperation](appkit/nsdocument/saveoperationtype/saveoperation.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)
