# UndoRecordEntry 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 sealed class UndoRecordEntry
```

Represents a single entry in a document's undo or redo history.

**Remarks:** A document deletes its records as undo and redo are performed. An [UndoRecordEntry](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry.md) is a snapshot of a record, so it remains usable after the document's history changes. Once the history has changed, the value of [UndoRecordEntry.SerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry/serialnumber.md) may no longer identify a record in that history.

## Properties

- [Description](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry/description.md): The name of the command that created the undoable events, or a description of what created them when they did not happen in a command.
- [SerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry/serialnumber.md): The runtime serial number Rhino assigned to this undo event.

## Methods

- [ToString](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry/tostring.md): Returns [UndoRecordEntry.Description](https://developer.rhino3d.com/api/rhinocommon/type/rhino.undorecordentry/description.md).

## See Also

- [RhinoDoc.GetUndoRecords()](https://developer.rhino3d.com/api/rhinocommon/type/rhino.rhinodoc/getundorecords.md)
- [RhinoDoc.GetRedoRecords()](https://developer.rhino3d.com/api/rhinocommon/type/rhino.rhinodoc/getredorecords.md)
