# GH_ArchivedUndoAction class

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

```cs
public abstract class GH_ArchivedUndoAction : GH_UndoAction
```

Base class implementation for undo actions that require (de)serialization of data.

**Derived types:** [GH_AddStateAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction.md), [GH_GenericObjectAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-genericobjectaction.md), [GH_RemoveObjectAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-removeobjectaction.md), [GH_RemoveStateAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-removestateaction.md)

## Fields

- [m_data](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/m-data.md): Internal data storage for serialized archives.

## Methods

- [Deserialize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/deserialize.md): Deserializes the obj from the local archive.
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/read.md)
- [Serialize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/serialize.md): Serializes the obj into the local archive.
- [SerializeToByteArray](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/serializetobytearray.md): Serializes the obj into the local archive.
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/write.md)

## Inherited Members

- From [GH_UndoAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction.md): [ExpiresDisplay](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/expiresdisplay.md), [ExpiresSolution](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/expiressolution.md), [State](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/state.md), [Internal_Redo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/internal-redo.md), [Internal_Undo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/internal-undo.md), [Redo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/redo.md), [Undo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-undoaction/undo.md)
