# IPersistentState&lt;TState&gt;

Package: [Microsoft.Orleans.Runtime](/orleans/docs/api/csharp/microsoft.orleans.runtime/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Runtime)

```csharp
public interface IPersistentState<TState> : IStorage, IStorage<TState>
```

Provides access to grain state with functionality to save, clear, and refresh the state.

## Type parameters

- `TState`: The underlying state type.

## See also

- `Orleans.Core.IStorage-1`
