# AutoSaveResult enum

Namespace: [Grasshopper2.Doc](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.doc.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum AutoSaveResult
```

Enumerates the possible outcomes of an autosave request.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Failure | 0 | Indicates no clear result was forthcoming. |
| NoDocument | 1 | Indicates there is no document to handle the save event. |
| IgnoredBecauseUnsaved | 2 | Indicates the request was ignored because there is no file location to autosave to. |
| IgnoredBecauseOfId | 3 | Indicates the request was ignored because it had a similar ID to the previous request. |
| IgnoredBecauseOfReason | 4 | Indicates the request was ignored because the user disabled autosaving for the supplied reason. |
| SaveAttempted | 5 | Indicates the save was attempted and may well be still in progress. Saves may fail at a later stage due to errors or other unforseen events. |
