# ObjectAutoSaveEventArgs class

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 class ObjectAutoSaveEventArgs : EventArgs
```

Event arguments for IDocumentObject autosave events.

## Constructors

- [ObjectAutoSaveEventArgs](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/ctor.md): Create a new instance of the IDocumentObject document event arguments.

## Properties

- [Id](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/id.md): Gets the id for this autosave.
- [Object](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/object.md): Gets the object that raised the event.
- [Reason](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/reason.md): Gets the reason for this autosave.
- [Result](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/result.md): Gets the result of this autosave request.

## Methods

- [SetResult](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectautosaveeventargs/setresult.md): Set the result of this autosave operation. The handler ought to assign this value.
