# DocumentEventArgs class

Namespace: [Rhino](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class DocumentEventArgs : EventArgs
```

Provides document information for RhinoDoc events.

**Derived types:** [DocumentOpenEventArgs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.documentopeneventargs.md), [DocumentSaveEventArgs](https://developer.rhino3d.com/api/rhinocommon/type/rhino.documentsaveeventargs.md)

## Properties

- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.documenteventargs/document.md): Gets the document for this event. This field might be null.
- [DocumentId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.documenteventargs/documentid.md): (obsolete) Gets the document Id of the document for this event.
- [DocumentSerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.documenteventargs/documentserialnumber.md): Gets the unique document serial number for this event
