# GH_AddStateAction class

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

```cs
public class GH_AddStateAction : GH_ArchivedUndoAction
```

Record the addition of a single solution state to a document.

## Constructors

- [GH_AddStateAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction/ctor.md)

## Methods

- [Internal_Redo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction/internal-redo.md)
- [Internal_Undo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction/internal-undo.md)
- [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction/read.md)
- [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.actions.gh-addstateaction/write.md)

## Inherited Members

- From [GH_ArchivedUndoAction](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction.md): [m_data](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/m-data.md), [Deserialize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/deserialize.md), [Serialize](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/serialize.md), [SerializeToByteArray](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.undo.gh-archivedundoaction/serializetobytearray.md)
- 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), [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)
