# Sandbox.UI.TextEntry.HistoryCookie

```csharp
string HistoryCookie { get; set; }
```

If set, the history of this text entry will be stored and restored using this key in the local [Sandbox.Internal.GlobalGameNamespace.Cookie](/api/Sandbox.Internal.GlobalGameNamespace/Cookie).

Declared in [Sandbox.UI.TextEntry](/api/Sandbox.UI.TextEntry).
Assembly: `Sandbox.Engine`.
