# ObjectGuidEventArgs 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 ObjectGuidEventArgs : EventArgs
```

Event arguments for IDocumentObject name events.

## Constructors

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

## Properties

- [NewId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectguideventargs/newid.md): Gets the new guid of the object.
- [Object](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectguideventargs/object.md): Gets the object that raised the event.
- [OldId](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.objectguideventargs/oldid.md): Gets the old guid of the object.
