# GH_DocObjectEventArgs class

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_DocObjectEventArgs : EventArgs
```

These arguments are passed along with ObjectsAdded and ObjectsRemoved events on GH_Document.

## Properties

- [Attributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-docobjecteventargs/attributes.md): Gets all the attributes that are associated with all objects in the event.
- [Document](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-docobjecteventargs/document.md): Gets the document that raised the event.
- [ObjectCount](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-docobjecteventargs/objectcount.md): Gets the number of objects in this event.
- [Objects](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-docobjecteventargs/objects.md): Gets a readonly list of the objects to which this event pertains.

## Indexers

- [Object](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.gh-docobjecteventargs/item.md): Gets the object to which this event pertains.
